aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Files/NotPermittedException.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Files/NotPermittedException.php')
-rw-r--r--lib/public/Files/NotPermittedException.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/public/Files/NotPermittedException.php b/lib/public/Files/NotPermittedException.php
new file mode 100644
index 00000000000..3b5cf637cb8
--- /dev/null
+++ b/lib/public/Files/NotPermittedException.php
@@ -0,0 +1,18 @@
+<?php
+
+/**
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+// use OCP namespace for all classes that are considered public.
+// This means that they should be used by apps instead of the internal Nextcloud classes
+
+namespace OCP\Files;
+
+/**
+ * Exception for not permitted action
+ * @since 6.0.0
+ */
+class NotPermittedException extends \Exception {
+}