Skip to main content

auth

Function auth 

Source
pub fn auth<E: Into<BoxError>>(
    e: Option<E>,
    kind: AuthErrorKind,
    message: &str,
) -> Error
Expand description

builds an error for instances where authentication fails and no access token can be obtained