更新
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
namespace app\exception;
|
||||
|
||||
final class ApiError extends \RuntimeException
|
||||
{
|
||||
public function __construct(public readonly int $status, string $message)
|
||||
{
|
||||
parent::__construct($message);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user