aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Talk/Exceptions/NoBackendException.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Talk/Exceptions/NoBackendException.php')
-rw-r--r--lib/public/Talk/Exceptions/NoBackendException.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/public/Talk/Exceptions/NoBackendException.php b/lib/public/Talk/Exceptions/NoBackendException.php
new file mode 100644
index 00000000000..4e7a8d50769
--- /dev/null
+++ b/lib/public/Talk/Exceptions/NoBackendException.php
@@ -0,0 +1,20 @@
+<?php
+
+declare(strict_types=1);
+
+/**
+ * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
+namespace OCP\Talk\Exceptions;
+
+use RuntimeException;
+
+/**
+ * Thrown when the Talk API is accessed but there is no registered backend
+ *
+ * @since 24.0.0
+ */
+final class NoBackendException extends RuntimeException {
+}