1
0

InvalidProviderException.php 452 B

123456789101112131415161718
  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 OC\Authentication\Exceptions;
  8. use Exception;
  9. use Throwable;
  10. class InvalidProviderException extends Exception {
  11. public function __construct(string $providerId, ?Throwable $previous = null) {
  12. parent::__construct("The provider '$providerId' does not exist'", 0, $previous);
  13. }
  14. }