diff options
Diffstat (limited to 'lib/public/PreConditionNotMetException.php')
-rw-r--r-- | lib/public/PreConditionNotMetException.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/public/PreConditionNotMetException.php b/lib/public/PreConditionNotMetException.php new file mode 100644 index 00000000000..2940926f880 --- /dev/null +++ b/lib/public/PreConditionNotMetException.php @@ -0,0 +1,19 @@ +<?php + +declare(strict_types=1); +/** + * 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; + +/** + * Exception if the precondition of the config update method isn't met + * @since 8.0.0 + */ +class PreConditionNotMetException extends \Exception { +} |