You are here

class MaestroGeneralException in Maestro 8.2

Same name and namespace in other branches
  1. 3.x src/Engine/Exception/MaestroGeneralException.php \Drupal\maestro\Engine\Exception\MaestroGeneralException

Exception thrown during general errors in the engine.

Hierarchy

Expanded class hierarchy of MaestroGeneralException

See also

hook_entity_info_alter()

1 file declares its use of MaestroGeneralException
MaestroEngine.php in src/Engine/MaestroEngine.php

File

src/Engine/Exception/MaestroGeneralException.php, line 10

Namespace

Drupal\maestro\Engine\Exception
View source
class MaestroGeneralException extends \Exception {

  /**
   * Constructs an MaestroGeneralException.
   *
   * @param string $condition
   *   The condition in which this exception ocurred.
   */
  public function __construct($condition) {
    $message = sprintf('General Maestro Error: %s', $condition);
    parent::__construct($message);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
MaestroGeneralException::__construct public function Constructs an MaestroGeneralException.