Module scale_encode::error

source ·
Expand description

An error that is emitted whenever some encoding 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 encode some type.
  • Some location, like a field, variant or index in an array.

Enums

  • The underlying nature of the error.
  • The kind of type that we’re trying to encode.

Traits