protected function PrintEngineException::refineMessage in Entity Print 8.2
Attempt to refine the error message to help the user.
Parameters
string $message: The error message.
Return value
string The parsed error message, possibly more refined.
1 call to PrintEngineException::refineMessage()
- PrintEngineException::getPrettyMessage in src/
PrintEngineException.php - Gets a pretty version of the exception message.
File
- src/
PrintEngineException.php, line 39
Class
- PrintEngineException
- The exception thrown when a implementation fails to generate a document.
Namespace
Drupal\entity_printCode
protected function refineMessage($message) {
if ($this
->isAuthFailure($message)) {
return $this
->getAuthFailureMessage();
}
return '';
}