You are here

protected function PrintEngineException::getAuthFailureMessage in Entity Print 8.2

Gets a new auth failure message.

Return value

string The pretty version of the auth failure message.

1 call to PrintEngineException::getAuthFailureMessage()
PrintEngineException::refineMessage in src/PrintEngineException.php
Attempt to refine the error message to help the user.

File

src/PrintEngineException.php, line 71

Class

PrintEngineException
The exception thrown when a implementation fails to generate a document.

Namespace

Drupal\entity_print

Code

protected function getAuthFailureMessage() {
  return $this
    ->t('Authorisation failed, are your resources behind HTTP authentication? Check the admin page to set credentials.');
}