Skip to content

Instance Method

error(jobId:error:eventLoop:)

Called when the job returns an error
func error(jobId: String, error: any Error, eventLoop: any EventLoop) -> EventLoopFuture<Void>

Parameters

jobId

The id of the Job

error

The error that caused the job to fail

eventLoop

The eventLoop