autopush.exceptions

Autopush Exceptions

class autopush.exceptions.AutopushException[source]

Parent Autopush Exception

class autopush.exceptions.RouterException(message, status_code=500, response_body='', router_data=None, headers=None, log_exception=True, errno=None, logged_status=None, **kwargs)[source]

Exception if routing has failed, may include a custom status_code and body to write to the response.

__init__(message, status_code=500, response_body='', router_data=None, headers=None, log_exception=True, errno=None, logged_status=None, **kwargs)[source]

Create a new RouterException