mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Provide template for whiskers error.
This commit is contained in:
parent
2530223ab5
commit
f28d40ef0b
@ -90,7 +90,13 @@ string Whiskers::replace(
|
||||
string tagName(_match[1]);
|
||||
if (!tagName.empty())
|
||||
{
|
||||
assertThrow(_parameters.count(tagName), WhiskersError, "Value for tag " + tagName + " not provided.");
|
||||
assertThrow(
|
||||
_parameters.count(tagName),
|
||||
WhiskersError,
|
||||
"Value for tag " + tagName + " not provided.\n" +
|
||||
"Template:\n" +
|
||||
_template
|
||||
);
|
||||
return _parameters.at(tagName);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user