Source code for sinch.core.exceptions

[docs] class SinchException(Exception): def __init__(self, message, response, is_from_server): self.is_from_server = is_from_server self.response_status_code = response.status_code if response else None self.http_response = response super().__init__(message)
[docs] class ValidationException(SinchException): pass