fedi-feed-router/app/Events/ExceptionOccurred.php
2025-06-29 18:33:18 +02:00

21 lines
410 B
PHP

<?php
namespace App\Events;
use App\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,
public array $context = []
) {
}
}