TraceableState
An abstraction for the current state of a job or task.
Parameters
The type of object used for providing context when the job is executing. Use Unit if no context is associated when tracking execution.
The type of object used for providing context when the job fails without throwing an exception. Use Unit if no context is available when a job fails.
Inheritors
Types
A TraceableState instance indicating that the job or task has completed successfully.
A TraceableState instance indicating that the job or task has been created.
A TraceableState instance indicating that the job or task has thrown an exception.
A TraceableState instance indicating that the job or task is currently executing.
A TraceableState instance indicating that the job or task has failed.
A TraceableState indicating that the job or task is completed.
Properties
The error context, or null
if this is not a GenericFailure.
The thrown exception, or null
if this is not an ExceptionalFailure.
The execution context, or null
if this is not Executing.