mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2025-11-24 06:25:46 +00:00
feat: define accountnotfound and captcha notfound err vals
This commit is contained in:
parent
a7590ea14e
commit
3edb2252af
@ -38,6 +38,12 @@ pub enum DBError {
|
||||
/// Captcha key is taken
|
||||
#[error("Captcha key is taken")]
|
||||
CaptchaKeyTaken,
|
||||
/// Account not found
|
||||
#[error("Account not found")]
|
||||
AccountNotFound,
|
||||
/// Captcha not found
|
||||
#[error("Captcha not found")]
|
||||
CaptchaNotFound,
|
||||
}
|
||||
|
||||
/// Convenience type alias for grouping driver-specific errors
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user