1
0

IncompleteNotificationException.php 510 B

1234567891011121314151617181920212223242526
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\Notification;
  8. /**
  9. * Thrown when {@see \OCP\Notification\IManager::notify()} is called with a notification
  10. * that does not have all required fields set:
  11. *
  12. * - app
  13. * - user
  14. * - dateTime
  15. * - objectType
  16. * - objectId
  17. * - subject
  18. *
  19. * @since 30.0.0
  20. */
  21. class IncompleteNotificationException extends \InvalidArgumentException {
  22. }