@metreeca/core - v0.9.22
    Preparing search index...

    Class TraceError

    Error carrying a structured validation Trace.

    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.

    Hierarchy

    • RangeError
      • TraceError
    Index

    Constructors

    Properties

    Constructors

    Properties

    cause: Trace