pub enum DBError {
DuplicateChallengeText,
DuplicateChallengeHostname,
DuplicateHostname,
DuplicateForgeType,
DuplicateUserLink,
DuplicateTopic,
DuplicateRepositoryLink,
UnknownForgeType(String),
DBError(BoxDynError),
}
Expand description
Error data structure grouping various error subtypes
Variants§
DuplicateChallengeText
DNS challenge value is already taken
DuplicateChallengeHostname
DNS challenge hostname is already taken
DuplicateHostname
Hostname is already taken
DuplicateForgeType
Forge Type is already taken
DuplicateUserLink
HTML link Type is already taken
DuplicateTopic
Topic is already taken
DuplicateRepositoryLink
Repository link is already taken
UnknownForgeType(String)
forge instance type is unknown
DBError(BoxDynError)
errors that are specific to a database implementation
Trait Implementations§
source§impl Error for DBError
impl Error for DBError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()