Currently, if symbols parser is used as an expectation point and no value matches, something similar to the following is generated as an error message:
symbols<EnumName> v { ... };
parse(r, "command1=" > v);
Generated error:
1:32: error: Expected symbols<enum EnumName>[<<action>>] here
Is it possible to provide a way to set a custom "error message", maybe by introducing a new symbols constructor overload (and/or a member function that can be called to set such a message)?
Currently, if
symbols
parser is used as an expectation point and no value matches, something similar to the following is generated as an error message:Generated error:
Is it possible to provide a way to set a custom "error message", maybe by introducing a new
symbols
constructor overload (and/or a member function that can be called to set such a message)?