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

23 lines
451 B
PHP
Raw Normal View History

2025-06-29 18:33:18 +02:00
<?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,
2025-07-07 00:51:32 +02:00
/** @var array<string, mixed> */
2025-06-29 18:33:18 +02:00
public array $context = []
) {
}
}