Add ApiInvalidParamException class.
This commit is contained in:
parent
8d59abf78c
commit
0bb1ea384a
13
src/Exceptions/ApiInvalidParamException.php
Normal file
13
src/Exceptions/ApiInvalidParamException.php
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace PdToolKit\Exceptions;
|
||||||
|
|
||||||
|
use Throwable;
|
||||||
|
|
||||||
|
class ApiInvalidParamException extends ApiException
|
||||||
|
{
|
||||||
|
public function __construct($message, Throwable $previous = null)
|
||||||
|
{
|
||||||
|
parent::__construct($message, 400400, $previous);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user