Module scale_decode::error
source · Expand description
An error that is emitted whenever some decoding fails.
Structs
- A cheaply clonable opaque context which allows us to track the current location into a type that we’re trying to encode, to aid in error reporting.
- An error produced while attempting to decode some type.
- Some location, like a field, variant or index in an array.
Enums
- The underlying nature of the error.
Traits
- Anything implementing this trait can be used in
ErrorKind::Custom
.