Source code for appmesh.exceptions

# exceptions.py
"""App Mesh SDK exception hierarchy."""


[docs] class AppMeshError(Exception): """Base exception for all App Mesh SDK errors."""
[docs] class AppMeshAuthError(AppMeshError): """Authentication or authorization error."""
[docs] class AppMeshConnectionError(AppMeshError): """Connection or transport error."""
[docs] class AppMeshTimeoutError(AppMeshConnectionError): """Receive timeout on an otherwise healthy connection (safe to retry/continue)."""
[docs] class AppMeshRequestError(AppMeshError): """HTTP request failed."""
[docs] class AppMeshAppRemovedError(AppMeshError): """The application was removed before its process exit was observed."""
[docs] class AppMeshProcessSupersededError(AppMeshError): """The current process key was superseded by a newer process instance (HTTP 412)."""