Base class for Plaid errors

Sections
Methods
N
Attributes
[R] code
[R] resolve
Internal
Class Public methods
new(code, message, resolve)

Initialize a error with proper attributes.

code

The Integer code (e.g. 1501).

message

The String message, describing the error.

resolve

The String description how to fix the error.

# File lib/plaid/errors.rb, line 14
def initialize(code, message, resolve)
  @code = code
  @resolve = resolve

  super "Code #{@code}: #{message}. #{resolve}"
end