diff --git a/db/db-core/src/errors.rs b/db/db-core/src/errors.rs index 07e3b0f6..7c3bc1a4 100644 --- a/db/db-core/src/errors.rs +++ b/db/db-core/src/errors.rs @@ -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