Expand description
The crate’s errors: DecodeError where the nibbles of an object do
not make one (with the offset where decoding failed and a Reason),
and Error for everything else (no memory view on this model, memory
the ROM has not set up, text that is no number, an object that cannot
be encoded), wrapping a DecodeError where one is the cause.
Error displays like the anyhow errors it replaced: {} shows the
outermost message, {:#} the whole chain (stack level 1: object truncated at nibble 5), and std::error::Error::source walks it.
Structs§
- Decode
Error - Nibbles that are not an object, and where they stop being one.
Enums§
- Error
- What went wrong outside the decoder, or a
DecodeErroron the way. - Reason
- Why the nibbles at
DecodeError::offsetare not an object.