Extends RangeError with the reported Trace as a typed cause, so a caller handling the error works with
the violations directly rather than testing a Trace for success first, and includes a pretty-printed copy of
the report in the message for visibility in stack traces and test output.
Error carrying a structured validation Trace.
Extends
RangeErrorwith the reported Trace as a typedcause, so a caller handling the error works with the violations directly rather than testing a Trace for success first, and includes a pretty-printed copy of the report in the message for visibility in stack traces and test output.