. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Http\Exceptions; use Fisharebest\Webtrees\I18N; /** * Application level exceptions. */ class HttpNotFoundException extends HttpException { /** * @param string|null $message */ public function __construct(string $message = null) { $message ??= I18N::translate('You do not have permission to view this page.'); parent::__construct($message, self::STATUS_NOT_FOUND); } }