Message runtime resolution errors

Hierarchy (View Summary)

Constructors

  • Parameters

    • type:
          | "bad-function-result"
          | "bad-operand"
          | "bad-option"
          | "unresolved-variable"
          | "unsupported-operation"
    • message: string
    • source: string

    Returns MessageResolutionError

Properties

cause?: unknown
message: string
name: string
source: string
stack?: string
type:
    | "bad-function-result"
    | "bad-operand"
    | "bad-option"
    | "unresolved-variable"
    | "unsupported-operation"
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