Enum sentry_types::ParseDsnError
source · [−]pub enum ParseDsnError {
InvalidUrl,
InvalidScheme,
NoUsername,
NoProjectId,
InvalidProjectId(ParseProjectIdError),
}
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(ParseProjectIdError)
raised the project id is invalid.
Trait Implementations
Performs the conversion.