Skip to content

Instance Method

error(jobId:error:)

Called when the job returns an error
func error(jobId: String, error: any Error) async throws

Parameters

jobId

The id of the Job

error

The error that caused the job to fail

Default Implementations

AsyncJobEventDelegate Implementations