public function Oauth2ClientPluginMissingKeyException::__construct in OAuth2 Client 8.3
Same name and namespace in other branches
- 8.2 src/Exception/Oauth2ClientPluginMissingKeyException.php \Drupal\oauth2_client\Exception\Oauth2ClientPluginMissingKeyException::__construct()
Constructs an Oauth2ClientPluginMissingKeyException object.
Parameters
string $key: The OAuth2 Client plugin key that is missing.
string $message: The Exception message to throw.
int $code: The Exception code.
\Throwable $previous: The previous exception used for the exception chaining.
File
- src/
Exception/ Oauth2ClientPluginMissingKeyException.php, line 22
Class
- Oauth2ClientPluginMissingKeyException
- Exception thrown when the Oauth2 Client plugin is missing a required key.
Namespace
Drupal\oauth2_client\ExceptionCode
public function __construct($key, $message = "", $code = 0, \Throwable $previous = NULL) {
if ($message == '') {
$message = 'The Oauth2 Client plugin is missing required key: ' . $key;
}
parent::__construct($message, $code, $previous);
}