fietsboek.views.errors module

Error views.

fietsboek.views.errors.forbidden_view(request)

Renders the 403 response.

Parameters:

request (pyramid.request.Request) – The Pyramid request.

Returns:

The HTTP response.

Return type:

pyramid.response.Response

fietsboek.views.errors.notfound_view(request)

Renders the 404 response.

Parameters:

request (pyramid.request.Request) – The Pyramid request.

Returns:

The HTTP response.

Return type:

pyramid.response.Response