Enum sentry::internals::DsnParseError
source · pub enum DsnParseError {
InvalidUrl,
InvalidScheme,
NoUsername,
NoProjectId,
InvalidProjectId(ProjectIdParseError),
}
Expand description
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§
source§impl Debug for DsnParseError
impl Debug for DsnParseError
source§impl Display for DsnParseError
impl Display for DsnParseError
source§impl Fail for DsnParseError
impl Fail for DsnParseError
source§fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
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