Class APIError

APIError

2/9/2024 - 6:49:57 AM

APIError

Hierarchy (View Summary, Expand)

Constructors

  • Creates an instance of APIError.

    Parameters

    • param0: { code: string; message: string }

    Returns APIError

    2/16/2024 - 5:19:35 AM

Properties

code: string
message: string
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

MMNEPVFCICPMFPCPTTAAATR