Module error

Module error 

Source
Expand description

Contains error types used across this crate.

Structs§

TryFromCborMapError
Error type used when a given CBOR map can’t be converted to a specific type which implements the ToCborMap trait.
ValueIsNotIntegerError
Error type used when a CBOR map does not use integers as its key type, but was expected to.
WrongSourceTypeError
Error type used when the parameter of the type T couldn’t be converted into expected_type because the received type was actual_type instead.

Enums§

AccessTokenError
Error type used when an operation creating or receiving an access token failed.
CoseCipherError
Error type used when a CoseEncryptCipher, CoseSignCipher, or CoseMacCipher. fails to perform an operation.
InvalidAifEncodedScopeError
Error type used when an AifEncodedScope does not conform to the specification given in RFC 6749 and RFC 9237.
InvalidBinaryEncodedScopeError
Error type used when a BinaryEncodedScope does not conform to the specification given in RFC 6749 and RFC 9200.
InvalidTextEncodedScopeError
Error type used when a TextEncodedScope does not conform to the specification given in RFC 6749.
MultipleCoseError
Error type used when a token for multiple recipients (i.e., CoseEncrypt) is decrypted.
ScopeFromValueError
Error type when a Value can’t be converted to a Scope.