| 12345678910111213 |
- <?php
- declare(strict_types=1);
- namespace app\miniapi\exception;
- final class ApiException extends \RuntimeException
- {
- public function __construct(int $code, string $message, public readonly int $status = 422, public readonly array $fields = [])
- {
- parent::__construct($message, $code);
- }
- }
|