Signals a generic type error.

Hierarchy (View Summary)

  • Err
    • ErrTypingSystem

Constructors

Properties

inner: undefined | Error = undefined
message: string
name: string
stack?: string
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Returns a pretty, friendly summary for the error or for the chain of errros (if appropriate).

    Returns any[]

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void