- integrations
- Python
- ocx_sdk
AuthError to ExitCode
AuthErrorclass#
ocx_sdk._errorsView sourceclass AuthError(OcxProcessError)Bases: OcxProcessError
Registry authentication or authorization failed (exit 80).
BootstrapErrorclass#
ocx_sdk._errorsView sourceclass BootstrapError(OcxError)Bases: OcxError
Base for failures while resolving, downloading, or installing an ocx binary.
ChecksumMismatchErrorclass#
ocx_sdk._errorsView sourceclass ChecksumMismatchError(BootstrapError)Bases: BootstrapError
A downloaded artifact did not match the sha256 the manifest declared.
ConfigErrorclass#
ocx_sdk._errorsView sourceclass ConfigError(OcxProcessError)Bases: OcxProcessError
ocx’s configuration is missing or invalid (exit 78).
DataErrorclass#
ocx_sdk._errorsView sourceclass DataError(OcxProcessError)Bases: OcxProcessError
Input or resolved data was malformed, ambiguous, or platform-mismatched (exit 65).
DirtyRcBlockErrorclass#
ocx_sdk._errorsView sourceclass DirtyRcBlockError(OcxProcessError)Bases: OcxProcessError
A managed-config fence carried local edits and refused to overwrite them (exit 82).
DistManifestErrorclass#
ocx_sdk._errorsView sourceclass DistManifestError(BootstrapError)Bases: BootstrapError
A dist manifest was malformed, unparseable, or failed field validation.
DownloadErrorclass#
ocx_sdk._errorsView sourceclass DownloadError(BootstrapError)Bases: BootstrapError
A manifest or artifact could not be fetched.
ExitCodeclass#
ocx_sdk._errorsView sourceclass 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