Skip to main content

Module error

Module error 

Source
Expand description

The crate’s checked-construction error types.

Hand-rolled (no thiserror) to keep bnb dependency-light — protocol crates depend on bnb instead of a stack of external helpers, so bnb itself stays lean.

Structs§

UnknownDiscriminant
The error returned by the TryFrom<uN> impl that #[derive(BitEnum)] generates for a primitive-width enum without a #[catch_all] variant (width u8/u16/u32/u64/u128): the value matched no known discriminant.

Enums§

WidthError
Errors from checked construction.