Initial commit

This commit is contained in:
isUnknown 2025-10-03 07:46:23 +02:00
commit efa5624dab
687 changed files with 162710 additions and 0 deletions

View file

@ -0,0 +1,20 @@
<?php
namespace Kirby\Exception;
/**
* Thrown when an object could not be created
* because it already exists
*
* @package Kirby Exception
* @author Nico Hoffmann <nico@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier
* @license https://opensource.org/licenses/MIT
*/
class DuplicateException extends Exception
{
protected static string $defaultKey = 'duplicate';
protected static string $defaultFallback = 'The entry exists';
protected static int $defaultHttpCode = 400;
}