You are here

class TextimageException in Textimage 8.4

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

Exception thrown by Textimage on failure.

Hierarchy

Expanded class hierarchy of TextimageException

2 files declare their use of TextimageException
TextimageApiTest.php in tests/src/Kernel/TextimageApiTest.php
TextimageDownloadController.php in src/Controller/TextimageDownloadController.php

File

src/TextimageException.php, line 8

Namespace

Drupal\textimage
View source
class TextimageException extends \Exception {

  /**
   * Constructs a TextimageImagerTokenException object.
   */
  public function __construct($message, \Exception $previous = NULL) {
    parent::__construct("Textimage error: {$message}", 0, $previous);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
TextimageException::__construct public function Constructs a TextimageImagerTokenException object.