Structured error thrown when opening a drawing database fails.

Callers can inspect code to distinguish worker out-of-memory failures from parse errors, timeouts, license failures, and other failure modes.

Hierarchy

  • Error
    • AcDbOpenDatabaseError

Constructors

Properties

cause?: unknown

Original thrown value that was normalized into this error, when available.

Machine-readable failure category for programmatic handling.

message: string
name: string
stack?: string

Conversion stage that was active when the failure occurred, when known.

Populated for failures raised during AcDbDatabase.read or AcDbDatabase.openUri pipeline tasks.

prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void

  • Returns true when the message indicates a worker serialization OOM failure.

    Parameters

    • message: string

      Worker or postMessage error text to inspect

    Returns boolean

    Whether the message matches a known out-of-memory pattern