Dolittle Documentation

Broken Rule

A broken rule is the consequence of a fail happening on a rule context. It encapsulates all the information related to what was violated.

Properties you’ll find on the BrokenRule type:

Property Type  Description
rule IRule  The rule the failure was reported from
context IRuleContext  In what rule context the evaluation happened
causes Cause[]  Array of causes