lenticular_cloud2/specs/api_template/errors.py.jinja
2023-01-13 19:21:38 +01:00

8 lines
281 B
Django/Jinja

""" Contains shared errors types that can be raised from API functions """
class UnexpectedStatus(Exception):
""" Raised by api functions when the response status an undocumented status and Client.raise_on_unexpected_status is True """
...
__all__ = ["UnexpectedStatus"]