Class WllamaRuntimeError

RuntimeError is thrown when there is an error in the WASM runtime, such as stack overflow, OOM, etc. Stack trace of the error in the WASM runtime can be included in the error object for debugging purpose.

Hierarchy

  • Error
    • WllamaRuntimeError

Constructors

Properties

cause?: unknown
message: string
name: string = 'RuntimeError'
stack: string
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