first version
This commit is contained in:
10
kirby/src/Exception/DuplicateException.php
Executable file
10
kirby/src/Exception/DuplicateException.php
Executable file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Kirby\Exception;
|
||||
|
||||
class DuplicateException extends Exception
|
||||
{
|
||||
protected static $defaultKey = 'duplicate';
|
||||
protected static $defaultFallback = 'The entry exists';
|
||||
protected static $defaultHttpCode = 400;
|
||||
}
|
||||
Reference in New Issue
Block a user