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
contextThe
QueueContext.errorThe error returned by the job.
payloadThe typed job payload.
Default Implementations
AsyncJob Implementations
error(_:_:_:)Forwarderror(_:_:_:)toerror(_:_:_:)error(_:_:_:)Default implementation oferror(_:_:_:).
Job Implementations
error(_:_:_:)Default implementation forerror(_:_:_:).