CommandError
A runtime command failed.
Shared
CommandError declaration
Section titled “CommandError declaration”class CommandError(RuntaError):CommandError construction
Section titled “CommandError construction”CommandError(message: str, *, exit_code: int | None = None)CommandError attributes
Section titled “CommandError attributes”| Name | Type or value | Description |
|---|---|---|
exit_code | int | None | Command exit code, when available. |