22 lines
531 B
PHP
22 lines
531 B
PHP
|
|
<?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
|
||
|
|
* @license https://opensource.org/licenses/MIT
|
||
|
|
*/
|
||
|
|
class ErrorPageException extends Exception
|
||
|
|
{
|
||
|
|
protected static string $defaultKey = 'errorPage';
|
||
|
|
protected static string $defaultFallback = 'Triggered error page';
|
||
|
|
protected static int $defaultHttpCode = 404;
|
||
|
|
}
|