Skip to content
ocx
install

AuthError to ExitCode

AuthErrorclass#

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

Bases: OcxProcessError

Registry authentication or authorization failed (exit 80).

BootstrapErrorclass#

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

Bases: OcxError

Base for failures while resolving, downloading, or installing an ocx binary.

ChecksumMismatchErrorclass#

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

Bases: BootstrapError

A downloaded artifact did not match the sha256 the manifest declared.

ConfigErrorclass#

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

Bases: OcxProcessError

ocx’s configuration is missing or invalid (exit 78).

DataErrorclass#

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

Bases: OcxProcessError

Input or resolved data was malformed, ambiguous, or platform-mismatched (exit 65).

DirtyRcBlockErrorclass#

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

Bases: OcxProcessError

A managed-config fence carried local edits and refused to overwrite them (exit 82).

DistManifestErrorclass#

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

Bases: BootstrapError

A dist manifest was malformed, unparseable, or failed field validation.

DownloadErrorclass#

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

Bases: BootstrapError

A manifest or artifact could not be fetched.

ExitCodeclass#

Re-exported from ocx_sdk._errorsView source
class ExitCode(IntEnum)

Bases: IntEnum

Exit codes ocx assigns to error categories (sysexits.h plus ocx’s own).

TEMP_FAIL is the retry signal — ocx maps 429/5xx/network timeouts onto it, while UNAVAILABLE marks a failure that retrying cannot fix.

AUTHattributeclass attributeinstance attribute#

AUTH = 80