| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 | from libs.exception import BaseHTTPExceptionclass RepeatPasswordNotMatchError(BaseHTTPException):    error_code = "repeat_password_not_match"    description = "New password and repeat password does not match."    code = 400class CurrentPasswordIncorrectError(BaseHTTPException):    error_code = "current_password_incorrect"    description = "Current password is incorrect."    code = 400class ProviderRequestFailedError(BaseHTTPException):    error_code = "provider_request_failed"    description = None    code = 400class InvalidInvitationCodeError(BaseHTTPException):    error_code = "invalid_invitation_code"    description = "Invalid invitation code."    code = 400class AccountAlreadyInitedError(BaseHTTPException):    error_code = "account_already_inited"    description = "The account has been initialized. Please refresh the page."    code = 400class AccountNotInitializedError(BaseHTTPException):    error_code = "account_not_initialized"    description = "The account has not been initialized yet. Please proceed with the initialization process first."    code = 400class InvalidAccountDeletionCodeError(BaseHTTPException):    error_code = "invalid_account_deletion_code"    description = "Invalid account deletion code."    code = 400
 |