mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 21:45:25 +08:00
14 lines
293 B
PHP
14 lines
293 B
PHP
|
<?php namespace BookStack\Exceptions;
|
||
|
|
||
|
|
||
|
class NotFoundException extends PrettyException {
|
||
|
|
||
|
/**
|
||
|
* NotFoundException constructor.
|
||
|
* @param string $message
|
||
|
*/
|
||
|
public function __construct($message = 'Item not found')
|
||
|
{
|
||
|
parent::__construct($message, 404);
|
||
|
}
|
||
|
}
|