2018-09-10 17:02:37 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
/**
|
2024-05-23 09:26:56 +02:00
|
|
|
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2018-09-10 17:02:37 +02:00
|
|
|
*/
|
|
|
|
namespace OC\Authentication\Exceptions;
|
|
|
|
|
|
|
|
use Exception;
|
|
|
|
use Throwable;
|
|
|
|
|
|
|
|
class InvalidProviderException extends Exception {
|
2024-03-28 16:13:19 +01:00
|
|
|
public function __construct(string $providerId, ?Throwable $previous = null) {
|
2018-09-10 17:02:37 +02:00
|
|
|
parent::__construct("The provider '$providerId' does not exist'", 0, $previous);
|
|
|
|
}
|
|
|
|
}
|