InvalidParamsException.php 364 B

123456789101112131415
  1. <?php
  2. declare(strict_types=1);
  3. namespace Yansongda\Artful\Exception;
  4. use Throwable;
  5. class InvalidParamsException extends Exception
  6. {
  7. public function __construct(int $code = self::PARAMS_ERROR, string $message = '参数异常', mixed $extra = null, ?Throwable $previous = null)
  8. {
  9. parent::__construct($message, $code, $extra, $previous);
  10. }
  11. }