boardinghouse.exceptions module¶
-
exception
boardinghouse.exceptions.
Forbidden
[source]¶ Bases:
exceptions.Exception
An exception that will be raised when an attempt to activate a non-valid schema is made.
-
exception
boardinghouse.exceptions.
SchemaNotFound
[source]¶ Bases:
exceptions.Exception
An exception that is raised when an attempt to activate a schema that is not in the database is made.
-
exception
boardinghouse.exceptions.
SchemaRequiredException
[source]¶ Bases:
exceptions.Exception
An exception raised when an operation requires a schema to be active or supplied, but none was provided.
-
exception
boardinghouse.exceptions.
TemplateSchemaActivation
(*args, **kwargs)[source]¶ Bases:
boardinghouse.exceptions.Forbidden
An exception that will be raised when a user attempts to activate the settings.TEMPLATE_SCHEMA schema.