first version
This commit is contained in:
11
kirby/src/Exception/InvalidArgumentException.php
Executable file
11
kirby/src/Exception/InvalidArgumentException.php
Executable file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Kirby\Exception;
|
||||
|
||||
class InvalidArgumentException extends Exception
|
||||
{
|
||||
protected static $defaultKey = 'invalidArgument';
|
||||
protected static $defaultFallback = 'Invalid argument "{ argument }" in method "{ method }"';
|
||||
protected static $defaultHttpCode = 400;
|
||||
protected static $defaultData = ['argument' => null, 'method' => null];
|
||||
}
|
||||
Reference in New Issue
Block a user