Exception: Stripe::APIError

Inherits:
StripeError show all
Defined in:
lib/stripe/errors.rb

Overview

APIError is a generic error that may be raised in cases where none of the other named errors cover the problem. It could also be raised in the case that a new error has been introduced in the API, but this version of the Ruby SDK doesn’t know how to handle it.

Instance Attribute Summary

Attributes inherited from StripeError

#code, #error, #http_body, #http_headers, #http_status, #json_body, #message, #request_id, #response

Method Summary

Methods inherited from StripeError

#construct_error_object, #idempotent_replayed?, #initialize, #to_s

Constructor Details

This class inherits a constructor from Stripe::StripeError