class MaestroGeneralException in Maestro 3.x
Same name and namespace in other branches
- 8.2 src/Engine/Exception/MaestroGeneralException.php \Drupal\maestro\Engine\Exception\MaestroGeneralException
Exception thrown during general errors in the engine.
Hierarchy
- class \Drupal\maestro\Engine\Exception\MaestroGeneralException extends \Drupal\maestro\Engine\Exception\Exception
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\ExceptionView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MaestroGeneralException:: |
public | function | Constructs an MaestroGeneralException. |