aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Lib/InsufficientDataForMeaningfulAnswerException.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/lib/Lib/InsufficientDataForMeaningfulAnswerException.php')
-rw-r--r--apps/files_external/lib/Lib/InsufficientDataForMeaningfulAnswerException.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/apps/files_external/lib/Lib/InsufficientDataForMeaningfulAnswerException.php b/apps/files_external/lib/Lib/InsufficientDataForMeaningfulAnswerException.php
new file mode 100644
index 00000000000..1e872b35072
--- /dev/null
+++ b/apps/files_external/lib/Lib/InsufficientDataForMeaningfulAnswerException.php
@@ -0,0 +1,27 @@
+<?php
+
+/**
+ * SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+namespace OCA\Files_External\Lib;
+
+use OCP\Files\StorageNotAvailableException;
+
+/**
+ * Authentication mechanism or backend has insufficient data
+ */
+class InsufficientDataForMeaningfulAnswerException extends StorageNotAvailableException {
+ /**
+ * StorageNotAvailableException constructor.
+ *
+ * @param string $message
+ * @param int $code
+ * @param \Exception|null $previous
+ * @since 6.0.0
+ */
+ public function __construct($message = '', $code = self::STATUS_INDETERMINATE, ?\Exception $previous = null) {
+ parent::__construct($message, $code, $previous);
+ }
+}