diff options
Diffstat (limited to 'lib/public/AppFramework/Db/DoesNotExistException.php')
-rw-r--r-- | lib/public/AppFramework/Db/DoesNotExistException.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Db/DoesNotExistException.php b/lib/public/AppFramework/Db/DoesNotExistException.php new file mode 100644 index 00000000000..416268b27c1 --- /dev/null +++ b/lib/public/AppFramework/Db/DoesNotExistException.php @@ -0,0 +1,25 @@ +<?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 + */ +namespace OCP\AppFramework\Db; + +/** + * This is returned or should be returned when a find request does not find an + * entry in the database + * @since 7.0.0 + */ +class DoesNotExistException extends \Exception implements IMapperException { + /** + * Constructor + * @param string $msg the error message + * @since 7.0.0 + */ + public function __construct($msg) { + parent::__construct($msg); + } +} |