Module error

Module error 

Source
Expand description

Error types for the HwpForge Foundation crate.

All Foundation types return FoundationError on validation failure. Each error variant carries enough context for debugging.

§Error Code Ranges

RangeCrate
1000-1999Foundation
2000-2999Core
3000-3999Blueprint
4000-4999Smithy-HWPX
5000-5999Smithy-HWP5
6000-6999Smithy-MD

Enums§

ErrorCode
Numeric error codes for programmatic handling and FFI.
FoundationError
The primary error type for the Foundation crate.

Traits§

ErrorCodeExt
Trait for mapping domain errors to numeric ErrorCode values.

Type Aliases§

FoundationResult
Convenience type alias for Foundation operations.