Skip to content
ocx
install

PermissionDeniedError to UsageError

PermissionDeniedErrorclass#

Re-exported from ocx_sdk._errorsView source
class PermissionDeniedError(OcxProcessError)

Bases: OcxProcessError

ocx was denied access to a resource (exit 77).

PolicyBlockedErrorclass#

Re-exported from ocx_sdk._errorsView source
class PolicyBlockedError(OcxProcessError)

Bases: OcxProcessError

ocx refused the operation under an offline or frozen policy (exit 81).

ReferrersUnsupportedErrorclass#

Re-exported from ocx_sdk._errorsView source
class ReferrersUnsupportedError(OcxProcessError)

Bases: OcxProcessError

The registry served neither the OCI 1.1 Referrers API nor the Referrers Tag Schema fallback (exit 84).

TempFailErrorclass#

Re-exported from ocx_sdk._errorsView source
class TempFailError(OcxProcessError)

Bases: OcxProcessError

A transient failure ocx marked as retry-safe (exit 75).

TransparencyLogUnavailableErrorclass#

Re-exported from ocx_sdk._errorsView source
class TransparencyLogUnavailableError(OcxProcessError)

Bases: OcxProcessError

Rekor was unreachable during a signing or verification operation (exit 83).

UnavailableErrorclass#

Re-exported from ocx_sdk._errorsView source
class UnavailableError(OcxProcessError)

Bases: OcxProcessError

A resource is unavailable and ocx classified it as non-transient (exit 69).

UnsupportedKeyBackendErrorclass#

Re-exported from ocx_sdk._errorsView source
class UnsupportedKeyBackendError(OcxProcessError)

Bases: OcxProcessError

ocx recognized the key backend scheme but has not implemented it (exit 85).

UnsupportedPlatformErrorclass#

Re-exported from ocx_sdk._errorsView source
class UnsupportedPlatformError(BootstrapError)

Bases: BootstrapError

No ocx release matches the host platform.

UsageErrorclass#

Re-exported from ocx_sdk._errorsView source
class UsageError(OcxProcessError)

Bases: OcxProcessError

ocx rejected the command line (exit 64).