fedi-feed-router/app/Events/ExceptionOccurred.php

22 lines
457 B
PHP

<?php
namespace App\Events;
use App\Enums\LogLevelEnum;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
use Throwable;
class ExceptionOccurred
{
use Dispatchable, SerializesModels;
public function __construct(
public Throwable $exception,
public LogLevelEnum $level,
public string $message,
/** @var array<string, mixed> */
public array $context = []
) {
}
}