Initial Commit

This commit is contained in:
2026-06-11 11:50:50 -04:00
commit d4a69c41be
2748 changed files with 80489 additions and 0 deletions
@@ -0,0 +1,29 @@
"""Exceptions used by PyNest."""
class PynestException(Exception):
"""Base class for all exceptions raised by pynest."""
class NestServiceException(Exception):
"""Raised when service is not available."""
class BadCredentialsException(Exception):
"""Raised when credentials are incorrect."""
class NotAuthenticatedException(Exception):
"""Raised when session is invalid."""
class GatewayTimeoutException(NestServiceException):
"""Raised when server times out."""
class BadGatewayException(NestServiceException):
"""Raised when server returns Bad Gateway."""
class EmptyResponseException(NestServiceException):
"""Raised when server returns Status 200 (OK), but empty response."""