From b421b0b8c4abc09d4458a2a5fdaa246033c6aedd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 27 Aug 2021 12:01:25 +0200 Subject: [PATCH] Add search\exception\SearchFailed Resolves #4476 --- .../search/exception/SearchFailed.class.php | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 wcfsetup/install/files/lib/system/search/exception/SearchFailed.class.php diff --git a/wcfsetup/install/files/lib/system/search/exception/SearchFailed.class.php b/wcfsetup/install/files/lib/system/search/exception/SearchFailed.class.php new file mode 100644 index 0000000000..aa59a5c74e --- /dev/null +++ b/wcfsetup/install/files/lib/system/search/exception/SearchFailed.class.php @@ -0,0 +1,21 @@ + + * @package WoltLabSuite\Core\System\Search\Exception + * @since 5.5 + */ +final class SearchFailed extends \RuntimeException +{ + public function __construct($message, ?\Throwable $previous = null) + { + parent::__construct($message, 0, $previous); + } +} -- 2.20.1