Module error

Expand description

Contains error types and other error handling tools.

Structs§

ContainsPrefixError
Error when hex string contains a prefix (e.g. 0x).
MissingPrefixError
Error when hex string is missing a prefix (e.g. 0x).
ParseIntError
Error with rich context returned when a string can’t be parsed as an integer.

Enums§

PrefixedHexError
Error returned when parsing integer from an supposedly prefixed hex string for a type that can be created infallibly from an integer.
UnprefixedHexError
Error returned when parsing integer from an supposedly un-prefixed hex string.