Package: errors

Full import path: orchard.errors

Blueprint for handling all error pages.

Module: blueprint

Initialize the blueprint.

blueprint = <flask.blueprints.Blueprint object>

The blueprint instance.

Type:flask.Blueprint

Class: Error400View

class Error400View[source]

Bases: flask_classful.FlaskView

View for 400 Bad Request errors.

index() → str[source]

Display the error page.

Returns:A page explaining the error.

Class: Error403View

class Error403View[source]

Bases: flask_classful.FlaskView

View for 403 Forbidden errors.

index() → str[source]

Display the error page.

Returns:A page explaining the error.

Class: Error404View

class Error404View[source]

Bases: flask_classful.FlaskView

View for 404 Not Found errors.

index() → str[source]

Display the error page.

Returns:A page explaining the error.

Class: Error500View

class Error500View[source]

Bases: flask_classful.FlaskView

View for 500 Internal Server Error errors.

index() → str[source]

Display the error page for internal errors and send a mail to all administrators informing them of this error.

Returns:A page explaining the error.