Initial commit
This commit is contained in:
commit
73c6b816c0
716 changed files with 170045 additions and 0 deletions
20
kirby/src/Exception/LogicException.php
Normal file
20
kirby/src/Exception/LogicException.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace Kirby\Exception;
|
||||
|
||||
/**
|
||||
* LogicException
|
||||
* Thrown for invalid requests that can't work out
|
||||
*
|
||||
* @package Kirby Exception
|
||||
* @author Nico Hoffmann <nico@getkirby.com>
|
||||
* @link https://getkirby.com
|
||||
* @copyright Bastian Allgeier
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
*/
|
||||
class LogicException extends Exception
|
||||
{
|
||||
protected static $defaultKey = 'logic';
|
||||
protected static $defaultFallback = 'This task cannot be finished';
|
||||
protected static $defaultHttpCode = 400;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue