Skip to content

Instance Method

error(_:_:_:)

Called when there is an error at any stage of the Job’s execution.
func error(_ context: QueueContext, _ error: any Error, _ payload: Self.Payload) -> EventLoopFuture<Void>

Parameters

context

The QueueContext.

error

The error returned by the job.

payload

The typed job payload.

Default Implementations

AsyncJob Implementations

Job Implementations