Example #1
0
def argument_error_handler(exception):
    return error_handler(exception, encode_data, status_code=400)
Example #2
0
 def my_error_handler(exception):
     return error_handler(exception, encode_data_server)
 def my_expected_error_handler(exception):
     return error_handler(exception, encode_data_server, status_code=400)