diff options
Diffstat (limited to 'lib/public/Notification/AlreadyProcessedException.php')
-rw-r--r-- | lib/public/Notification/AlreadyProcessedException.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/public/Notification/AlreadyProcessedException.php b/lib/public/Notification/AlreadyProcessedException.php new file mode 100644 index 00000000000..162abd81864 --- /dev/null +++ b/lib/public/Notification/AlreadyProcessedException.php @@ -0,0 +1,21 @@ +<?php + +declare(strict_types=1); + +/** + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +namespace OCP\Notification; + +use OCP\AppFramework\Attribute\Throwable; + +#[Throwable(since: '17.0.0')] +class AlreadyProcessedException extends \RuntimeException { + /** + * @since 17.0.0 + */ + public function __construct() { + parent::__construct('Notification is processed already'); + } +} |