GitHub

DaffCheckoutInvalidAPIResponseError

Error

import { DaffCheckoutInvalidAPIResponseError } from '@daffodil/checkout/driver'

An error thrown when the platform's API response is missing required information or malformed in an unrecoverable way.

class DaffCheckoutInvalidAPIResponseError extends DaffInheritableError implements DaffError {
  readonly code: string = DaffCheckoutDriverErrorCodes.INVALID_API_RESPONSE
  message: string
  __proto__: Error
  recoverable: boolean = false
  name: string
  stack: string
}