nerfw.helpers.errors package

Submodules

nerfw.helpers.errors.character_not_found module

exception nerfw.helpers.errors.character_not_found.CharacterNotFoundError(character)[source]

Bases: Exception

Raised when character can’t be found

nerfw.helpers.errors.function_not_found module

exception nerfw.helpers.errors.function_not_found.FunctionNotFound(func)[source]

Bases: Exception

Raised when character can’t be found

nerfw.helpers.errors.password_mismatch module

exception nerfw.helpers.errors.password_mismatch.PasswordsMismatch[source]

Bases: Exception

Raised when passwords do not match

nerfw.helpers.errors.unsupported_login_method module

exception nerfw.helpers.errors.unsupported_login_method.UnsupportedLoginMethodError(method: str)[source]

Bases: Exception

Exception raised when a login method is not supported.

nerfw.helpers.errors.user_already_registered module

exception nerfw.helpers.errors.user_already_registered.UserAlreadyRegistered(login: str)[source]

Bases: Exception

Raised when User is already exists

nerfw.helpers.errors.user_doesnt_exist module

exception nerfw.helpers.errors.user_doesnt_exist.UserDoesntExist(login: str)[source]

Bases: Exception

Raised when character can’t be found

nerfw.helpers.errors.user_not_allowed module

exception nerfw.helpers.errors.user_not_allowed.UserNotAllowed(user_name: str)[source]

Bases: Exception

Exception for user not allowed

nerfw.helpers.errors.wrong_naming module

exception nerfw.helpers.errors.wrong_naming.WrongNamingFormatError(name)[source]

Bases: Exception

Raised when character can’t be found

Module contents