Skip to main content
See Handle failures and unexpected state for recovery scenarios. Client API errors, transport errors, InterruptedError, and validation errors can also propagate. A nonzero process exit code is returned in InstanceResult by command execution. write_file() raises FileWriteError if its write command does not confirm success.

exception FailedOperationError

An operation reached a terminal non-SUCCESS status with no result at all. A nonzero exit code is a normal InstanceResult, not an error - this is only raised for an operation-level failure (e.g. the VM couldn’t start).

Attributes

Methods

add_note()

Add a note to the exception

with_traceback()

Set self.traceback to tb and return self.

exception DockerBuildError

A Dockerfile build step failed (nonzero RUN exit code, unresolvable stage/image reference, etc.).

Attributes

Methods

add_note()

Add a note to the exception

with_traceback()

Set self.traceback to tb and return self.

exception FileWriteError

A file could not be written to the executor’s filesystem.

Attributes

Methods

add_note()

Add a note to the exception

with_traceback()

Set self.traceback to tb and return self.