API reference / Quittio \ Laravel \ Events
QueuedDocumentFailed
final readonly class in quittio/laravel
Quittio\Laravel\Events\QueuedDocumentFailed · Source
Dispatched when a queued RenderDocument job failed for good: after its last attempt, or at once for errors that another attempt cannot fix. $job->data() returns the document.
Properties#
| Property | Type | Description |
|---|---|---|
$exception readonly | Throwable | |
$job readonly | RenderDocument |
Methods#
| Method | Description |
|---|---|
->__construct() |
__construct()#
public function __construct(RenderDocument $job, Throwable $exception)| Parameter | Type | Description |
|---|---|---|
$job | RenderDocument | |
$exception | Throwable |