class LinodeAPI::APIError
An API error in the body of the HTTP response
Attributes
action[R]
details[R]
Public Class Methods
new(resp, msg = 'API Error encountered')
click to toggle source
Calls superclass method
# File lib/linodeapi/errors.rb, line 41 def initialize(resp, msg = 'API Error encountered') @action = resp['ACTION'] @details = resp['ERRORARRAY'] super(msg) end