You are here

public function KeyProviderRequirementsException::__construct in Apigee Edge 8

KeyProviderRequirementsException constructor.

Parameters

string $message: The Exception message.

\Drupal\Core\StringTranslation\TranslatableMarkup $translatable_markup_message: The translatable markup object of the exception to display on the pages where the exception is caught.

int|null $code: The error code.

\Throwable|null $previous: The previous throwable used for the exception chaining.

File

src/Exception/KeyProviderRequirementsException.php, line 50

Class

KeyProviderRequirementsException
Defines an exception for Apigee Edge key provider problems.

Namespace

Drupal\apigee_edge\Exception

Code

public function __construct(string $message, TranslatableMarkup $translatable_markup_message = NULL, int $code = 0, \Throwable $previous = NULL) {
  $this->translatableMarkupMessage = $translatable_markup_message;
  parent::__construct($message, $code, $previous);
}