xiaowang/kirby/src/Exception/ErrorPageException.php

22 lines
527 B
PHP
Raw Normal View History

2021-10-29 18:05:46 +02:00
<?php
namespace Kirby\Exception;
/**
* ErrorPageException
* Thrown to trigger the CMS error page
* @since 3.3.0
*
* @package Kirby Exception
* @author Lukas Bestle <lukas@getkirby.com>
* @link https://getkirby.com
* @copyright Bastian Allgeier GmbH
* @license https://opensource.org/licenses/MIT
*/
class ErrorPageException extends Exception
{
protected static $defaultKey = 'errorPage';
protected static $defaultFallback = 'Triggered error page';
protected static $defaultHttpCode = 404;
}