initial commit

This commit is contained in:
isUnknown 2026-01-13 10:21:41 +01:00
commit 5210d78d7d
969 changed files with 223828 additions and 0 deletions

View file

@ -0,0 +1,20 @@
<?php
namespace Kirby\Exception;
/**
* Thrown when a method was called with invalid arguments
*
* @package Kirby Exception
* @author Nico Hoffmann <nico@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*/
class InvalidArgumentException extends Exception
{
protected static string $defaultKey = 'invalidArgument';
protected static string $defaultFallback = 'Invalid argument "{ argument }" in method "{ method }"';
protected static int $defaultHttpCode = 400;
protected static array $defaultData = ['argument' => null, 'method' => null];
}