ProviderNotAvailableException.php 522 B

1234567891011121314151617181920212223
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCA\DAV\CalDAV\Reminder\NotificationProvider;
  8. class ProviderNotAvailableException extends \Exception {
  9. /**
  10. * ProviderNotAvailableException constructor.
  11. *
  12. * @since 16.0.0
  13. *
  14. * @param string $type ReminderType
  15. */
  16. public function __construct(string $type) {
  17. parent::__construct("No notification provider for type $type available");
  18. }
  19. }