julienmonnerie/kirby/src/Exception/LogicException.php
2022-08-31 15:02:43 +02:00

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;
}