Enum sentry_types::AuthParseError
source · pub enum AuthParseError {
NonSentryAuth,
InvalidTimestamp,
InvalidVersion,
MissingPublicKey,
}
Expand description
Represents an auth header parsing error.
Variants§
NonSentryAuth
Raised if the auth header is not indicating sentry auth
InvalidTimestamp
Raised if the timestamp value is invalid.
InvalidVersion
Raised if the version value is invalid
MissingPublicKey
Raised if the public key is missing entirely
Trait Implementations§
source§impl Clone for AuthParseError
impl Clone for AuthParseError
source§fn clone(&self) -> AuthParseError
fn clone(&self) -> AuthParseError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AuthParseError
impl Debug for AuthParseError
source§impl Display for AuthParseError
impl Display for AuthParseError
source§impl Fail for AuthParseError
impl Fail for AuthParseError
source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read more