20 lines
504 B
PHP
20 lines
504 B
PHP
<?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;
|
|
}
|