- integrations
- Python
- ocx_sdk
OcxExecutionError, OcxNotFoundError
OcxExecutionErrorclass#
Re-exported from
ocx_sdk._errorsView sourceclass OcxExecutionError(argv: Sequence[str], stderr: str = '')Bases: OcxError
Base for failures an ocx process raised — non-zero exits and timeouts.
except OcxExecutionError is the catch shape a caller usually wants: it
covers both a process that failed and one that never finished.
Attributes
| Name | Type | Description |
|---|---|---|
argv | tuple[str, ...] | The argv that ran, with secrets already redacted by _process. |
stderr | str | Captured stderr in full; the message shows only its tail. |
OcxNotFoundErrorclass#
Re-exported from
ocx_sdk._errorsView sourceclass OcxNotFoundError(OcxError)Bases: OcxError
No ocx binary could be discovered.