aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Notification/IncompleteNotificationException.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Notification/IncompleteNotificationException.php')
-rw-r--r--lib/public/Notification/IncompleteNotificationException.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/public/Notification/IncompleteNotificationException.php b/lib/public/Notification/IncompleteNotificationException.php
index f5ae5254509..49d388ebee6 100644
--- a/lib/public/Notification/IncompleteNotificationException.php
+++ b/lib/public/Notification/IncompleteNotificationException.php
@@ -9,6 +9,8 @@ declare(strict_types=1);
namespace OCP\Notification;
+use OCP\AppFramework\Attribute\Catchable;
+
/**
* Thrown when {@see \OCP\Notification\IManager::notify()} is called with a notification
* that does not have all required fields set:
@@ -19,8 +21,7 @@ namespace OCP\Notification;
* - objectType
* - objectId
* - subject
- *
- * @since 30.0.0
*/
+#[Catchable(since: '30.0.0')]
class IncompleteNotificationException extends \InvalidArgumentException {
}