Class: Plaid::Models::Error

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/plaid/models.rb

Overview

Public: A representation of an error.

Instance Method Summary collapse

Methods inherited from BaseModel

#assert_property_exists!

Instance Method Details

#display_messageObject

:attr_reader: Public: A user-friendly representation of the error message. nil if the error is not related to user action.



49
# File 'lib/plaid/models.rb', line 49

property :display_message

#error_codeObject

:attr_reader: Public: The particular String error code. Each error_type has a specific set of error_codes.



38
# File 'lib/plaid/models.rb', line 38

property :error_code

#error_messageObject

:attr_reader: Public: A developer-friendly representation of the error message.



43
# File 'lib/plaid/models.rb', line 43

property :error_message

#error_typeObject

:attr_reader: Public: The String broad categorization of the error. One of: ‘INVALID_REQUEST’, ‘INVALID_INPUT’, ‘RATE_LIMIT_EXCEEDED’, ‘API_ERROR’, or ‘ITEM_ERROR’.



32
# File 'lib/plaid/models.rb', line 32

property :error_type