cayu.egress.errors
Public Cayu API. Definitions are grouped by their public source module, and definitions from private implementation modules appear on their package’s page; adding a symbol does not move existing links. The import shown at each entry is a supported public namespace. Read the Python API overview and install the required extra.
DockerEgressReconnectError
Section titled “DockerEgressReconnectError”from cayu.egress import DockerEgressReconnectErrorBounded Docker failure classification with optional safe setup diagnostics.
Bases: EgressReconnectError.
init (method)
Section titled “init (method)”DockerEgressReconnectError.__init__(code: str) -> NoneRelease source · Runtime guarantees · Capability guides
EgressAuthorityCutoverError
Section titled “EgressAuthorityCutoverError”from cayu.egress import EgressAuthorityCutoverErrorA governed egress-authority replacement did not become active.
Bases: EgressError.
This type’s implementation and inherited behavior are available in the linked release source.
Release source · Runtime guarantees · Capability guides
EgressAuthorityCutoverNeedsAttention
Section titled “EgressAuthorityCutoverNeedsAttention”from cayu.egress import EgressAuthorityCutoverNeedsAttentionA backend cutover mutation was dispatched but activation is unproven.
Bases: EgressAuthorityCutoverError.
init (method)
Section titled “init (method)”EgressAuthorityCutoverNeedsAttention.__init__(message: str, *, replacement_binding: Any, environment_fingerprint: str | None, target_authority_installed: bool=True, settlement_task: Any=None, cancellation: asyncio.CancelledError | None=None, cancellation_requests_consumed: int=0) -> NoneRelease source · Runtime guarantees · Capability guides
EgressDestinationDeniedError
Section titled “EgressDestinationDeniedError”from cayu.egress import EgressDestinationDeniedErrorAn application destination resolver refused to resolve an upstream host.
Raise this from an HttpxUpstream(destination_resolver=...) callable to
express a deliberate policy refusal. The broker answers 403 with
error_code="destination_denied" and never contacts the upstream, unlike
OSError or other resolution failures, which remain 502
dns_failure. reason is returned to the caller and recorded in the
egress audit event, so it must not contain secrets. It is normalized to
printable single-line text of at most
MAX_EGRESS_DESTINATION_DENIED_REASON_CHARS characters.
Bases: EgressError.
init (method)
Section titled “init (method)”EgressDestinationDeniedError.__init__(reason: str=_DEFAULT_DESTINATION_DENIED_REASON) -> NoneRelease source · Runtime guarantees · Capability guides
EgressError
Section titled “EgressError”from cayu.egress import EgressErrorBase error for the virtual egress subsystem.
Bases: RuntimeError.
This type’s implementation and inherited behavior are available in the linked release source.
Release source · Runtime guarantees · Capability guides
EgressReconnectConflictError
Section titled “EgressReconnectConflictError”from cayu.egress import EgressReconnectConflictErrorAnother owner already holds the reconnectable sandbox boundary.
Bases: EgressReconnectError.
This type’s implementation and inherited behavior are available in the linked release source.
Release source · Runtime guarantees · Capability guides
EgressReconnectError
Section titled “EgressReconnectError”from cayu.egress import EgressReconnectErrorBase error for a fail-closed virtual-egress reconnect attempt.
Bases: EgressError.
This type’s implementation and inherited behavior are available in the linked release source.
Release source · Runtime guarantees · Capability guides
EgressReconnectNotFoundError
Section titled “EgressReconnectNotFoundError”from cayu.egress import EgressReconnectNotFoundErrorThe sandbox named by durable reconnect metadata no longer exists.
Bases: EgressReconnectError.
This type’s implementation and inherited behavior are available in the linked release source.
Release source · Runtime guarantees · Capability guides
InvalidEgressReconnectMetadataError
Section titled “InvalidEgressReconnectMetadataError”from cayu.egress import InvalidEgressReconnectMetadataErrorDurable reconnect metadata is malformed, stale, or out of scope.
Bases: EgressReconnectError.
This type’s implementation and inherited behavior are available in the linked release source.
Release source · Runtime guarantees · Capability guides
UnsupportedEgressAuthorityCutoverError
Section titled “UnsupportedEgressAuthorityCutoverError”from cayu.egress import UnsupportedEgressAuthorityCutoverErrorThe selected adapter cannot safely replace its active egress authority.
Bases: EgressAuthorityCutoverError.
This type’s implementation and inherited behavior are available in the linked release source.
Release source · Runtime guarantees · Capability guides
UnsupportedEgressCapabilityError
Section titled “UnsupportedEgressCapabilityError”from cayu.egress import UnsupportedEgressCapabilityErrorA named enforcement capability is unavailable for one runner kind.
Bases: UnsupportedEgressError.
init (method)
Section titled “init (method)”UnsupportedEgressCapabilityError.__init__(*, runner_kind: str, capability: str, reason: str, remediation: str) -> NoneRelease source · Runtime guarantees · Capability guides
UnsupportedEgressError
Section titled “UnsupportedEgressError”from cayu.egress import UnsupportedEgressErrorA runner cannot enforce or capture egress for virtual_egress.
This is the fail-closed signal: Cayu must never downgrade virtual_egress
to raw secret injection when a runner cannot prove that direct provider
egress is blocked or captured. Adapters raise this instead of silently
weakening the credential boundary.
Bases: EgressError.
This type’s implementation and inherited behavior are available in the linked release source.
Release source · Runtime guarantees · Capability guides
UnsupportedEgressReconnectError
Section titled “UnsupportedEgressReconnectError”from cayu.egress import UnsupportedEgressReconnectErrorThe selected adapter cannot safely re-establish enforced egress.
Bases: EgressReconnectError.
This type’s implementation and inherited behavior are available in the linked release source.
Release source · Runtime guarantees · Capability guides
VirtualCredentialError
Section titled “VirtualCredentialError”from cayu.egress import VirtualCredentialErrorA virtual credential was unknown, expired, or revoked at the broker.
Bases: EgressError.
This type’s implementation and inherited behavior are available in the linked release source.