Пример #1
0
def unauthorized(e):
    return ErrorController.show(401, e)
Пример #2
0
def not_allowed(e):
    return ErrorController.show(403, e)
Пример #3
0
def service_unavailable(e):
    return ErrorController.show(503, e)
Пример #4
0
def gateway_timeout(e):
    return ErrorController.show(504, e)
Пример #5
0
def bad_gateway(e):
    return ErrorController.show(502, e)
Пример #6
0
def not_implemented(e):
    return ErrorController.show(501, e)
Пример #7
0
def internal_error(e):
    return ErrorController.show(500, e)
Пример #8
0
def bad_request(e):
    return ErrorController.show(400, e)
Пример #9
0
def page_not_found(e):
    return ErrorController.show(404, e)