2022-06-17 17:51:59 +02:00
|
|
|
<?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
|
|
|
|
{
|
2022-08-31 15:02:43 +02:00
|
|
|
protected static $defaultKey = 'logic';
|
|
|
|
protected static $defaultFallback = 'This task cannot be finished';
|
|
|
|
protected static $defaultHttpCode = 400;
|
2022-06-17 17:51:59 +02:00
|
|
|
}
|