"""Errors"""
[docs]
class Rejection(RuntimeError):
"""Cannot push into worker db"""
[docs]
class DependencyError(ImportError):
"""Specific dependency is missing"""
[docs]
class SecurityError(Exception):
"""SQLInjection ahead."""
[docs]
class UnexpectedResultError(Exception):
"""Result of something is unexpected."""
[docs]
class TableRemovedError(Exception):
"""Table is removed"""
[docs]
class DatabaseExistsError(UnexpectedResultError):
"""Database that would be created is already exists."""
[docs]
class DatabaseMissingError(UnexpectedResultError):
"""Database that would be accessed is missing."""
[docs]
class ObjectRemovedError(BaseException):
"""Object is deleted from memory and cannot be obtained"""
[docs]
class CuteDemonLordException(Exception):
"""A demon lord (cute one, somehow a dude) aborts an SQL statement"""
[docs]
class FeatureGatekeep(ValueError):
"""A feature is gatekeeped"""
[docs]
class VersionError(FeatureGatekeep):
"""Current version cannot use this feature"""
[docs]
class ImplementationWarning(FutureWarning):
"""The implementation of specific feature is not supported"""