view.exceptions
¶
__all__ = ('ViewWarning', 'NotLoadedWarning', 'ViewError', 'BadEnvironmentError', 'InvalidBodyError', 'MistakeError', 'LoaderWarning', 'AppNotFoundError', 'DatabaseError', 'InvalidDatabaseSchemaError', 'DuplicateRouteError', 'InvalidRouteError', 'ViewInternalError', 'ConfigurationError', 'NeedsDependencyError', 'InvalidTemplateError', 'TypeValidationError')
module-attribute
¶
InvalidDatabaseSchemaError
¶
Bases: DatabaseError
LoaderWarning
¶
Bases: ViewWarning
A warning from the loader.
NotLoadedWarning
¶
Bases: ViewWarning
load() was never called
ViewError
¶
ViewWarning
¶
Bases: UserWarning
Base class for all warnings in view.py