Class: Plaid::Models::Error
- Defined in:
- lib/plaid/models.rb
Overview
Public: A representation of an error.
Instance Method Summary collapse
-
#display_message ⇒ Object
:attr_reader: Public: A user-friendly representation of the error message.
-
#error_code ⇒ Object
:attr_reader: Public: The particular String error code.
-
#error_message ⇒ Object
:attr_reader: Public: A developer-friendly representation of the error message.
-
#error_type ⇒ Object
:attr_reader: Public: The String broad categorization of the error.
Methods inherited from BaseModel
Instance Method Details
#display_message ⇒ Object
: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_code ⇒ Object
: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_message ⇒ Object
:attr_reader: Public: A developer-friendly representation of the error message.
43 |
# File 'lib/plaid/models.rb', line 43 property :error_message |
#error_type ⇒ Object
: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 |