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