hyperjumptech/grule-rule-engine

ExecuteWithContext error should return rule name

kilgaloon opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Yes. If there is a lot of rules to be evaluated returning plain error without where the error happened doesn't means much since you need to find manually in which rule it happened.

Describe the solution you'd like
I want that ExecuteWithContext return error not only describing what happened in then but also what is the name of the rule error happened in.

Describe alternatives you've considered
I considered using listener, but it seems that listener EvaluateRuleEntry doesn't trigger when error happens.