Exception: Graphlient::Errors::ServerError

Inherits:
Error
  • Object
show all
Defined in:
lib/graphlient/errors/server_error.rb

Direct Known Subclasses

ConnectionFailedError, FaradayServerError

Instance Attribute Summary collapse

Attributes inherited from Error

#inner_exception

Method Summary

Methods inherited from Error

#initialize

Constructor Details

This class inherits a constructor from Graphlient::Errors::Error

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



4
5
6
# File 'lib/graphlient/errors/server_error.rb', line 4

def response
  @response
end

#status_codeObject (readonly)

Returns the value of attribute status_code.



4
5
6
# File 'lib/graphlient/errors/server_error.rb', line 4

def status_code
  @status_code
end