StackFormation\Exception\ValueResolverException::__construct PHP Method

__construct() public method

public __construct ( $value, Blueprint $sourceBlueprint = null, $sourceType = null, $sourceKey = null, Exception $previous = null )
$sourceBlueprint StackFormation\Blueprint
$previous Exception
    public function __construct($value, Blueprint $sourceBlueprint = null, $sourceType = null, $sourceKey = null, \Exception $previous = null)
    {
        $this->sourceBlueprint = $sourceBlueprint;
        $this->sourceType = $sourceType;
        $this->sourceKey = $sourceKey;
        if (!is_scalar($value)) {
            $value = var_export($value, true);
        }
        $message = "Error resolving value '{$value}'" . $this->getExceptionMessageAppendix();
        parent::__construct($message, 0, $previous);
    }