mirror of
https://github.com/stoatchat/python-client-sdk.git
synced 2026-07-21 10:05:22 -04:00
26 lines
524 B
Python
Executable File
26 lines
524 B
Python
Executable File
__all__ = (
|
|
"RevoltError",
|
|
"HTTPError",
|
|
"ServerError",
|
|
"FeatureDisabled",
|
|
"AutumnDisabled",
|
|
)
|
|
|
|
class RevoltError(Exception):
|
|
"Base exception for revolt"
|
|
|
|
class HTTPError(RevoltError):
|
|
"Base exception for http errors"
|
|
|
|
class ServerError(RevoltError):
|
|
"Internal server error"
|
|
|
|
class FeatureDisabled(RevoltError):
|
|
"Base class for any feature disabled errors"
|
|
|
|
class AutumnDisabled(FeatureDisabled):
|
|
"The autumn feature is disabled"
|
|
|
|
class Forbidden(HTTPError):
|
|
"Missing permissions"
|