Instance Method
error(jobId:error:)
Called when the job returns an error
func error(jobId: String, error: any Error) async throws
Parameters
jobIdThe id of the Job
errorThe error that caused the job to fail
Default Implementations
AsyncJobEventDelegate Implementations
func error(jobId: String, error: any Error) async throwsCalled when the job returns an error