ExecutionAbortException

Marker for an execution-level abort: the runner has decided to stop the current training session or evaluation run as a whole, rather than failing a single stage or leaf operation.

Subtypes carry the specific cause (e.g. SpendLimitExceededException). They are thrown only from AbortController.abort, which guarantees at most one abort per execution. Catch sites recognize abort exceptions via the consuming application's failure analyzers, so most code paths don't need a bespoke catch arm for them.

Inheritors

Properties

Link copied to clipboard
abstract val abortResolvedId: String

Short identifier of the abort cause (e.g. "SpendLimitExceeded").

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?

Functions

Link copied to clipboard

Default mapping of an abort to an AnalyzedFailure for record-keeping.