MaestroGeneralException.php in Maestro 8.2
Same filename and directory in other branches
Namespace
Drupal\maestro\Engine\ExceptionFile
src/Engine/Exception/MaestroGeneralException.phpView source
<?php
namespace Drupal\maestro\Engine\Exception;
/**
* Exception thrown during general errors in the engine.
*
* @see hook_entity_info_alter()
*/
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);
}
}
Classes
Name | Description |
---|---|
MaestroGeneralException | Exception thrown during general errors in the engine. |