aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/QueryException.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/AppFramework/QueryException.php')
-rw-r--r--lib/public/AppFramework/QueryException.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/public/AppFramework/QueryException.php b/lib/public/AppFramework/QueryException.php
new file mode 100644
index 00000000000..20a964e82c8
--- /dev/null
+++ b/lib/public/AppFramework/QueryException.php
@@ -0,0 +1,23 @@
+<?php
+
+declare(strict_types=1);
+/**
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+namespace OCP\AppFramework;
+
+use Exception;
+use Psr\Container\ContainerExceptionInterface;
+
+/**
+ * Class QueryException
+ *
+ * The class extends `ContainerExceptionInterface` since 20.0.0
+ *
+ * @since 8.1.0
+ * @deprecated 20.0.0 catch \Psr\Container\ContainerExceptionInterface
+ */
+class QueryException extends Exception implements ContainerExceptionInterface {
+}