Enum oauth2::ErrorType [] [src]

pub enum ErrorType {
    InvalidRequest,
    UnauthorizedClient,
    AccessDenied,
    UnsupportedResponseType,
    InvalidScope,
    ServerError,
    TemporarilyUnavailable,
    Other(String),
}

An OAuth2-specific error type or other.

See https://tools.ietf.org/html/rfc6749#section-4.2.2.1

Variants

Trait Implementations

impl Debug for ErrorType
[src]

Formats the value using the given formatter.

impl PartialEq for ErrorType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> From<&'a str> for ErrorType
[src]

Performs the conversion.

impl Display for ErrorType
[src]

Formats the value using the given formatter. Read more