Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Function formatErrorForDisplay

    • One-line name: message rendering, the shape devtools shows.

      An empty message renders as just the name rather than leaving a dangling colon, so new Error() reads Error and not Error: .

      Never throws — a throwing name/message accessor must not break the console renderers, which previously guarded every property read via the try/catch around JSON.stringify.

      Parameters

      • error: Error

      Returns string