Initial commit
This commit is contained in:
commit
1ff19bf38f
830 changed files with 159212 additions and 0 deletions
21
kirby/src/Exception/ErrorPageException.php
Normal file
21
kirby/src/Exception/ErrorPageException.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue