Upgrade to 3.3.0
This commit is contained in:
20
kirby/src/Exception/ErrorPageException.php
Executable file
20
kirby/src/Exception/ErrorPageException.php
Executable file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Kirby\Exception;
|
||||
|
||||
/**
|
||||
* ErrorPageException
|
||||
* Thrown to trigger the CMS error page
|
||||
*
|
||||
* @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;
|
||||
}
|
||||
Reference in New Issue
Block a user