aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/Reminder/NotificationTypeDoesNotExistException.php
blob: 6fd2a29ede5d5de8dd61634cccbcd45b02c395d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

declare(strict_types=1);

/**
 * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OCA\DAV\CalDAV\Reminder;

class NotificationTypeDoesNotExistException extends \Exception {

	/**
	 * NotificationTypeDoesNotExistException constructor.
	 *
	 * @since 16.0.0
	 *
	 * @param string $type ReminderType
	 */
	public function __construct(string $type) {
		parent::__construct("Type $type is not an accepted type of notification");
	}
}