Setu-TS
    Preparing search index...

    Function describeError

    • Renders a thrown value, including its safe classifier fields, cause chain, and aggregate members, as a single diagnostic line.

      The line is bounded to 8192 Unicode code points; a value cut by that bound ends with … [truncated]. Whitespace and control or format characters are normalized to a single space, so one rendered value can never inject a line break into a text log sink.

      Parameters

      • value: unknown

        The value that was thrown or rejected

      Returns string

      A one-line diagnostic safe for a string log sink

      0.11.0