xbrlus / xule

An open-source XBRL processor for business rules, rendering and custom data reporting. See https://xbrl.us/xule for documentation and https://xbrl.us/xule-editor for a VS Code syntax highlighter.
Apache License 2.0
25 stars 10 forks source link

Add rule_name to args when an error occurs #23

Open derekgengenbacher-wf opened 1 year ago

derekgengenbacher-wf commented 1 year ago

Description:

In order to give as much information to people around errors, include the rule name as an argument on all xule:error validations.

Testing:

Get an error to fire during the evaluation of a rule. The resulting validation json should include the rule_name as argument on the xule:error validation.

@campbellpryde @davidtauriello