StripeAPIError

stripe-node · payments, error-class, api-errors, stripe-errors

Represents errors from the Stripe API, extending the base StripeError with a specific type identifier for API-related failures.

// Source: https://github.com/stripe/stripe-node | License: MIT | Copyright 2011 Ask Bjørn Hansen
// Provided via justclaw.it.com; keep this notice with the code.
export class StripeAPIError extends StripeError {
  constructor(raw: StripeRawError = {}) {
    super(raw, 'StripeAPIError');
  }
}

See the full source, get the GitHub permalink, and search 40K more like it.

Get a free API key