def not_found(error): return helpers.make_error(404, 1002, "Route not found.")
def not_allowed(error): return helpers.make_error(405, 1001, "Route not found.")