app.views.error_pages

This file describes the errors and the message the user should see.

Module Contents

Functions

simulate_500()

Used to simulate a error 500 for test coverage of 500 handling

page_forbidden(e)

Thrown when a user accesses a page with @flask_login.login_required

page_not_found(e)

Page for resource or file nout found

page_server_error(e)

Page for internal server error

app.views.error_pages.simulate_500()

Used to simulate a error 500 for test coverage of 500 handling

app.views.error_pages.page_forbidden(e)

Thrown when a user accesses a page with @flask_login.login_required

app.views.error_pages.page_not_found(e)

Page for resource or file nout found

app.views.error_pages.page_server_error(e)

Page for internal server error