2016-03-05 19:09:21 +01:00
|
|
|
<?php namespace BookStack\Exceptions;
|
|
|
|
|
2018-01-28 17:58:52 +01:00
|
|
|
class NotFoundException extends PrettyException
|
|
|
|
{
|
2016-03-05 19:09:21 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* NotFoundException constructor.
|
|
|
|
* @param string $message
|
|
|
|
*/
|
|
|
|
public function __construct($message = 'Item not found')
|
|
|
|
{
|
|
|
|
parent::__construct($message, 404);
|
|
|
|
}
|
2018-01-28 17:58:52 +01:00
|
|
|
}
|