The derived string of a method that produced it from another data type is invalid. This typically occurs when parsing data.

Hierarchy (view full)

Constructors

Properties

cause?: unknown
message: string

Details of the exception.

metadata?: unknown
name: string
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