Error

Router and Logic for the Error of the Website

Functions:

error(request, err_msg)

Return landing page for errors

views.error.error(request: starlette.requests.Request, err_msg: str)[source]

Return landing page for errors

Parameters
  • request (Request) – the http request

  • err_msg (str) – the error message

Returns

the http response

Return type

TemplateResponse