foo: bar
{
::processBar($item1)
}
Under certain circumstances (bad input) processBar will fail.
Now, I understand that if I return undef, the production should
fail, etc. What I want to do is be able to provide the
error message that processBar() has "calculated". I
tried adding <error: ${::getError()}> after the action, but
that doesn't seem to have worked... What's the best way to do
this. Should processBar just "print STDERR 'msg'"? In reply to RecDescent error handling by dcorbin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |