Error

Type Alias Error 

Source
pub type Error = TokenGenerationError;
Expand description

This typing is used to have easy access to the library errors.

Aliased Type§

pub enum Error {
    InvalidLifetime(i64),
    JsonWebTokenError(Error),
    ReqwestError(Error),
    SerdeError(Error),
    AuthenticationError(String, String),
}

Variants§

§

InvalidLifetime(i64)

Invalid lifetime

§

JsonWebTokenError(Error)

JsonWebToken library error

§

ReqwestError(Error)

Reqwest library error

§

SerdeError(Error)

Serde library error

§

AuthenticationError(String, String)

The authentication service responded with an error