aterrors#
Exceptions classes
AternosError
#
Bases: Exception
Common error class
AternosPermissionError
#
Bases: AternosError
Raised when trying to execute a disallowed command, usually because of shared access rights
CloudflareError
#
Bases: AternosError
Raised when the parser is unable to bypass Cloudflare protection
CredentialsError
#
Bases: AternosError
Raised when a session cookie is empty which means incorrect credentials
FileError
#
Bases: AternosError
Raised when trying to execute a disallowed by Aternos file operation
ServerError
#
Bases: AternosError
Common class for server errors
__init__(reason, message='')
#
Common class for server errors
Parameters:
Name | Type | Description | Default |
---|---|---|---|
reason |
str
|
Code which contains error reason |
required |
message |
str
|
Error message |
''
|
ServerStartError
#
Bases: AternosError
Raised when Aternos can not start Minecraft server
__init__(reason)
#
Raised when Aternos can not start Minecraft server
Parameters:
Name | Type | Description | Default |
---|---|---|---|
reason |
str
|
Code which contains error reason |
required |
TokenError
#
Bases: AternosError
Raised when the parser is unable to extract Aternos ajax token