election_day.views.exceptionviews ================================= .. py:module:: election_day.views.exceptionviews Functions --------- .. autoapisummary:: election_day.views.exceptionviews.handle_forbidden election_day.views.exceptionviews.handle_notfound election_day.views.exceptionviews.handle_accepted Module Contents --------------- .. py:function:: handle_forbidden(self: webob.exc.HTTPForbidden, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData Displays a nice HTTP 403 error. .. py:function:: handle_notfound(self: webob.exc.HTTPNotFound, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData Displays a nice HTTP 404 error. .. py:function:: handle_accepted(self: webob.exc.HTTPAccepted, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData Displays a nice HTTP 202 exception.