class Stripe::OAuthErrorObject

Represents on OAuth error returned by the OAuth API.

@see stripe.com/docs/connect/oauth-reference#post-token-errors

Public Instance Methods

error() click to toggle source

A unique error code per error type.

# File lib/stripe/error_object.rb, line 84
def error
  @values[:error]
end
error_description() click to toggle source

A human readable description of the error.

# File lib/stripe/error_object.rb, line 89
def error_description
  @values[:error_description]
end