runtime.exception

Common Runtime exceptions.

exception runtime.exception.EmergencyStopException[source]

Bases: SystemExit

An exception indicating Runtime should stop immediately.

Do not attempt to restart a subprocess whose exit code is EXIT_CODE. Instead, the parent process should re-raise the exception.

EXIT_CODE

The process exit code used to represent an emergency stop.

Type

int

exception runtime.exception.RuntimeBaseException(message, /, **context)[source]

Bases: Exception

Base exception for Runtime business logic.

Parameters
  • message (str) – A human-readable description of the exception.

  • context (Any) – Machine-readable data.