Enum actix_tools::sentry::sentry_client::internals::DsnParseError [−]
pub enum DsnParseError { InvalidUrl, InvalidScheme, NoUsername, NoProjectId, InvalidProjectId(ProjectIdParseError), }
Represents a dsn url parsing error.
Variants
InvalidUrl
raised on completely invalid urls
InvalidScheme
raised the scheme is invalid / unsupported.
NoUsername
raised if the username (public key) portion is missing.
NoProjectId
raised the project is is missing (first path component)
InvalidProjectId(ProjectIdParseError)
raised the project id is invalid.
Trait Implementations
impl Fail for DsnParseError
impl Fail for DsnParseError
fn cause(&self) -> Option<&(Fail + 'static)>
fn cause(&self) -> Option<&(Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
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
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
Provides context for this failure. Read more
fn compat(self) -> Compat<Self>
fn compat(self) -> Compat<Self>
Wraps this failure in a compatibility wrapper that implements std::error::Error
. Read more
impl Display for DsnParseError
impl Display for DsnParseError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Debug for DsnParseError
impl Debug for DsnParseError
Auto Trait Implementations
impl Send for DsnParseError
impl Send for DsnParseError
impl Sync for DsnParseError
impl Sync for DsnParseError