Hierarchy (View Summary)

Properties

prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number
cause?: unknown
name: string
message: string
stack?: string
data:
    | ForbiddenError
    | InvalidRequestError
    | PlatformNotEnabledError
    | UnauthorizedError
    | { type: typeof Unrecognized }

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void