You are here

public function TextimageException::__construct in Textimage 8.4

Same name and namespace in other branches
  1. 8.3 src/TextimageException.php \Drupal\textimage\TextimageException::__construct()

Constructs a TextimageImagerTokenException object.

File

src/TextimageException.php, line 13

Class

TextimageException
Exception thrown by Textimage on failure.

Namespace

Drupal\textimage

Code

public function __construct($message, \Exception $previous = NULL) {
  parent::__construct("Textimage error: {$message}", 0, $previous);
}