aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication/Exceptions/InvalidProviderException.php
blob: 9dbf3a7782ab74aa12ccfefbdbc34098c43a6be9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

declare(strict_types=1);

/**
 * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OC\Authentication\Exceptions;

use Exception;
use Throwable;

class InvalidProviderException extends Exception {
	public function __construct(string $providerId, ?Throwable $previous = null) {
		parent::__construct("The provider '$providerId' does not exist'", 0, $previous);
	}
}