class Graphlient::Errors::FaradayServerError
Public Class Methods
new(inner_exception)
click to toggle source
Calls superclass method
# File lib/graphlient/errors/faraday_server_error.rb, line 4 def initialize(inner_exception) super(inner_exception.message, inner_exception) @inner_exception = inner_exception @response = inner_exception.response[:body] @status_code = inner_exception.response[:status] end