aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Files/NotEnoughSpaceException.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Files/NotEnoughSpaceException.php')
-rw-r--r--lib/public/Files/NotEnoughSpaceException.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/public/Files/NotEnoughSpaceException.php b/lib/public/Files/NotEnoughSpaceException.php
new file mode 100644
index 00000000000..f2a0b60a916
--- /dev/null
+++ b/lib/public/Files/NotEnoughSpaceException.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 enough space
+ * @since 6.0.0
+ */
+class NotEnoughSpaceException extends \Exception {
+}