Something went wrong. Try again.
a fresh view on git forges
Something went wrong. Try again.
1234567891011121314151617181920use thiserror::Error;
#[derive(Error, Debug)]pub(crate) enum AccountCreationError { #[error("account creation forbidden when logged in")] ForbiddenWhenLoggedIn, #[error("email and password confirmations do not match")] ConfirmationsDontMatch, #[error("email confirmation does not match")] EmailConfirmationDoesntMatch, #[error("password confirmation does not match")] PasswordConfirmationDoesntMatch,}
#[derive(Error, Debug)]pub(crate) enum AccessDeniedError { #[error("no user session")] NoUserSession,}