Exception: OrientdbClient::OrientdbError
- Inherits:
-
StandardError
- Object
- StandardError
- OrientdbClient::OrientdbError
- Defined in:
- lib/orientdb_client/errors.rb
Direct Known Subclasses
ClientError, ConnectionError, HttpAdapterError, NegativeArraySizeException, NotFoundError, ServerError
Instance Attribute Summary collapse
-
#http_code ⇒ Object
readonly
Returns the value of attribute http_code.
-
#response_body ⇒ Object
readonly
Returns the value of attribute response_body.
Instance Method Summary collapse
-
#initialize(message = nil, http_code = nil, response_body = nil) ⇒ OrientdbError
constructor
A new instance of OrientdbError.
Constructor Details
#initialize(message = nil, http_code = nil, response_body = nil) ⇒ OrientdbError
Returns a new instance of OrientdbError.
5 6 7 8 9 |
# File 'lib/orientdb_client/errors.rb', line 5 def initialize( = nil, http_code = nil, response_body = nil) super() @http_code = http_code @response_body = response_body end |
Instance Attribute Details
#http_code ⇒ Object (readonly)
Returns the value of attribute http_code.
3 4 5 |
# File 'lib/orientdb_client/errors.rb', line 3 def http_code @http_code end |
#response_body ⇒ Object (readonly)
Returns the value of attribute response_body.
3 4 5 |
# File 'lib/orientdb_client/errors.rb', line 3 def response_body @response_body end |