示例#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)