2022-06-17 17:51:59 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Kirby\Exception;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* NotFoundException
|
|
|
|
* Thrown when something was not found
|
|
|
|
*
|
|
|
|
* @package Kirby Exception
|
|
|
|
* @author Nico Hoffmann <nico@getkirby.com>
|
|
|
|
* @link https://getkirby.com
|
|
|
|
* @copyright Bastian Allgeier
|
|
|
|
* @license https://opensource.org/licenses/MIT
|
|
|
|
*/
|
|
|
|
class NotFoundException extends Exception
|
|
|
|
{
|
2022-08-31 15:02:43 +02:00
|
|
|
protected static $defaultKey = 'notFound';
|
|
|
|
protected static $defaultFallback = 'Not found';
|
|
|
|
protected static $defaultHttpCode = 404;
|
2022-06-17 17:51:59 +02:00
|
|
|
}
|