aboutsummaryrefslogtreecommitdiffstats
path: root/lib/unstable/Config/Exceptions
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unstable/Config/Exceptions')
-rw-r--r--lib/unstable/Config/Exceptions/IncorrectTypeException.php19
-rw-r--r--lib/unstable/Config/Exceptions/TypeConflictException.php19
-rw-r--r--lib/unstable/Config/Exceptions/UnknownKeyException.php19
3 files changed, 57 insertions, 0 deletions
diff --git a/lib/unstable/Config/Exceptions/IncorrectTypeException.php b/lib/unstable/Config/Exceptions/IncorrectTypeException.php
new file mode 100644
index 00000000000..6b91959071a
--- /dev/null
+++ b/lib/unstable/Config/Exceptions/IncorrectTypeException.php
@@ -0,0 +1,19 @@
+<?php
+
+declare(strict_types=1);
+/**
+ * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
+namespace NCU\Config\Exceptions;
+
+use Exception;
+
+/**
+ * @experimental 31.0.0
+ * @deprecated 32.0.0 use \OCP\Config\Exceptions\IncorrectTypeException
+ * @see \OCP\Config\Exceptions\IncorrectTypeException
+ */
+class IncorrectTypeException extends Exception {
+}
diff --git a/lib/unstable/Config/Exceptions/TypeConflictException.php b/lib/unstable/Config/Exceptions/TypeConflictException.php
new file mode 100644
index 00000000000..808679ed873
--- /dev/null
+++ b/lib/unstable/Config/Exceptions/TypeConflictException.php
@@ -0,0 +1,19 @@
+<?php
+
+declare(strict_types=1);
+/**
+ * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
+namespace NCU\Config\Exceptions;
+
+use Exception;
+
+/**
+ * @experimental 31.0.0
+ * @deprecated 32.0.0 use \OCP\Config\Exceptions\TypeConflictException
+ * @see \OCP\Config\Exceptions\TypeConflictException
+ */
+class TypeConflictException extends Exception {
+}
diff --git a/lib/unstable/Config/Exceptions/UnknownKeyException.php b/lib/unstable/Config/Exceptions/UnknownKeyException.php
new file mode 100644
index 00000000000..744ce25e48d
--- /dev/null
+++ b/lib/unstable/Config/Exceptions/UnknownKeyException.php
@@ -0,0 +1,19 @@
+<?php
+
+declare(strict_types=1);
+/**
+ * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
+namespace NCU\Config\Exceptions;
+
+use Exception;
+
+/**
+ * @experimental 31.0.0
+ * @deprecated 32.0.0 use \OCP\Config\Exceptions\UnknownKeyException
+ * @see \OCP\Config\Exceptions\UnknownKeyException
+ */
+class UnknownKeyException extends Exception {
+}