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
24 stars 9 forks source link

Add rule_name to args when an error occurs #23

Open derekgengenbacher-wf opened 10 months ago

derekgengenbacher-wf commented 10 months 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