Class CheckoutError<T>

Type Parameters

Hierarchy

  • Error
    • CheckoutError

Constructors

  • Type Parameters

    Parameters

    • message: string
    • type: T
    • Optionaldata: {
          [key: string]: any;
      }
      • [key: string]: any

    Returns CheckoutError<T>

Properties

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

Optional override for formatting stack traces

stackTraceLimit: number
message: string
type: T
data?: {
    [key: string]: any;
}
name: string
stack?: string
cause?: unknown

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void