forked from tilde/ssh-reg
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
532 B
Python
47 lines
532 B
Python
class General(Exception):
|
|
pass
|
|
|
|
|
|
class UnknownUser(General):
|
|
pass
|
|
|
|
|
|
class UnknownReturnCode(General):
|
|
pass
|
|
|
|
|
|
class UserExistsAlready(UnknownReturnCode):
|
|
pass
|
|
|
|
|
|
class ModifyFilesystem(General):
|
|
pass
|
|
|
|
|
|
class SSHDirUncreatable(ModifyFilesystem):
|
|
pass
|
|
|
|
|
|
class SQLiteDatabaseDoesntExistYet(General):
|
|
pass
|
|
|
|
|
|
class User(Exception):
|
|
pass
|
|
|
|
|
|
class UsernameLength(User):
|
|
pass
|
|
|
|
|
|
class UsernameTooShort(User):
|
|
pass
|
|
|
|
|
|
class UsernameTooLong(User):
|
|
pass
|
|
|
|
|
|
class UsernameInvalidCharacters(User):
|
|
pass
|