aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Exceptions/BrokenPath.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/Exceptions/BrokenPath.php')
-rw-r--r--apps/files_sharing/lib/Exceptions/BrokenPath.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/Exceptions/BrokenPath.php b/apps/files_sharing/lib/Exceptions/BrokenPath.php
new file mode 100644
index 00000000000..a68a8fc05d4
--- /dev/null
+++ b/apps/files_sharing/lib/Exceptions/BrokenPath.php
@@ -0,0 +1,17 @@
+<?php
+
+/**
+ * SPDX-FileCopyrightText: 2020-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+namespace OCA\Files_Sharing\Exceptions;
+
+/**
+ * Expected path with a different root
+ * Possible Error Codes:
+ * 10 - Path not relative to data/ and point to the users file directory
+ *
+ */
+class BrokenPath extends \Exception {
+}