You are here

public function KeyProviderRequirementsException::getTranslatableMarkupMessage in Apigee Edge 8

Gets the translatable markup object.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The translatable markup object.

File

src/Exception/KeyProviderRequirementsException.php, line 61

Class

KeyProviderRequirementsException
Defines an exception for Apigee Edge key provider problems.

Namespace

Drupal\apigee_edge\Exception

Code

public function getTranslatableMarkupMessage() : TranslatableMarkup {
  return $this->translatableMarkupMessage ?? $this
    ->t('Key provider error: @error', [
    '@error' => $this->message,
  ]);
}