IFClite TypeScript API
    Preparing search index...

    Class ScriptError

    Error thrown when a sandboxed script fails

    Hierarchy

    • Error
      • ScriptError
    Index
    • Parameters

      • message: string
      • logs: LogEntry[]
      • durationMs: number

      Returns ScriptError

    durationMs: number
    logs: LogEntry[]

    Console output captured before the failure.

    Copied from the caller's array: eval() reuses one log buffer and clears it in place on every run, so storing that array by reference emptied a caught error's diagnostics the moment the next script started (#2092).