Tutorials
API Documentation
HubVaultRemoteError
HubVaultRemoteTransportError
HubVaultRemoteProtocolError
HubVaultRemoteAuthError
Error types for hubvault.remote.
hubvault.remote
The remote client keeps its own exception hierarchy so callers do not need to depend on the concrete HTTP transport implementation.
Base error for remote-client failures.
Remote operations surface this hierarchy instead of leaking concrete HTTP client exceptions back to callers.
Example:
>>> str(HubVaultRemoteError("boom")) 'boom'
Raised when the remote transport cannot complete a request.
>>> str(HubVaultRemoteTransportError("offline")) 'offline'
Raised when the remote server returns an invalid or unsupported payload.
>>> str(HubVaultRemoteProtocolError("bad json")) 'bad json'
Raised when the remote server rejects authentication or permissions.
>>> str(HubVaultRemoteAuthError("forbidden")) 'forbidden'