Enum simple_jwt::ErrorKind
[−]
pub enum ErrorKind { Msg(String), JsonError(Error), Base64Error(DecodeError), CryptoFailure(ErrorStack), UnsupportAlgorithm, InvalidFormat, InvalidSignature, // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
JsonError(Error)
Base64Error(DecodeError)
CryptoFailure(ErrorStack)
UnsupportAlgorithm
InvalidFormat
InvalidSignature
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.