Initial commit
This commit is contained in:
commit
efa5624dab
687 changed files with 162710 additions and 0 deletions
19
kirby/src/Exception/NotFoundException.php
Normal file
19
kirby/src/Exception/NotFoundException.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
namespace Kirby\Exception;
|
||||
|
||||
/**
|
||||
* 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
|
||||
{
|
||||
protected static string $defaultKey = 'notFound';
|
||||
protected static string $defaultFallback = 'Not found';
|
||||
protected static int $defaultHttpCode = 404;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue