commit
efe67f85da
2 changed files with 6 additions and 0 deletions
|
@ -26,6 +26,7 @@ from .aterrors import ServerRunningError
|
||||||
from .aterrors import ServerSoftwareError
|
from .aterrors import ServerSoftwareError
|
||||||
from .aterrors import ServerStorageError
|
from .aterrors import ServerStorageError
|
||||||
from .aterrors import FileError
|
from .aterrors import FileError
|
||||||
|
from .aterrors import PermissionError
|
||||||
from .atjsparse import exec, atob
|
from .atjsparse import exec, atob
|
||||||
from .atjsparse import to_ecma5_function
|
from .atjsparse import to_ecma5_function
|
||||||
|
|
||||||
|
|
|
@ -54,3 +54,8 @@ class FileError(AternosError):
|
||||||
|
|
||||||
"""Raised when trying to execute a disallowed
|
"""Raised when trying to execute a disallowed
|
||||||
by Aternos file operation"""
|
by Aternos file operation"""
|
||||||
|
|
||||||
|
|
||||||
|
class PermissionError(AternosError):
|
||||||
|
"""Raised when trying to execute a non-allowed
|
||||||
|
command on a server (Think friends permissions)"""
|
||||||
|
|
Reference in a new issue