Skip to content

Commit

Permalink
Remove unused API error types from docs. (#989)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcr-stripe authored Jul 15, 2021
1 parent c46e8fc commit ad7104a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/stripe/error_object.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ def source
@values[:source]
end

# The type of error returned. One of `api_connection_error`, `api_error`,
# `authentication_error`, `card_error`, `idempotency_error`,
# `invalid_request_error`, or `rate_limit_error`.
# The type of error returned. One of `api_error`, `card_error`,
# `idempotency_error`, or `invalid_request_error`.
def type
@values[:type]
end
Expand Down

0 comments on commit ad7104a

Please sign in to comment.