mirror of
https://github.com/stoatchat/python-client-sdk.git
synced 2026-07-18 12:46:25 -04:00
23 lines
474 B
Python
Executable File
23 lines
474 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 any feature disabled"""
|
|
|
|
class AutumnDisabled(FeatureDisabled):
|
|
"""The autumn feature is disabled"""
|