Beispiel #1
0
def handle_error(error):
    """
    Register an error handler for general exceptions.
    """
    return get_error_response(error)
Beispiel #2
0
 def handle_error(self, e):
     return get_error_response(e)