Exception: Evil::Client::ResponseError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/evil/client/exceptions/response_error.rb

Overview

Exception to be risen when remote API responded with undefined status

Instance Attribute Summary collapse

Instance Attribute Details

#bodyEnumerable (readonly)



28
29
30
# File 'lib/evil/client/exceptions/response_error.rb', line 28

def body
  @body
end

#headersHash (readonly)



24
25
26
# File 'lib/evil/client/exceptions/response_error.rb', line 24

def headers
  @headers
end

#responseArray (readonly)



16
17
18
# File 'lib/evil/client/exceptions/response_error.rb', line 16

def response
  @response
end

#schemaEvil::Client::Container::Operation::Schema (readonly)



8
9
10
# File 'lib/evil/client/exceptions/response_error.rb', line 8

def schema
  @schema
end

#settingsEnumerable (readonly)



12
13
14
# File 'lib/evil/client/exceptions/response_error.rb', line 12

def settings
  @settings
end

#statusInteger (readonly)



20
21
22
# File 'lib/evil/client/exceptions/response_error.rb', line 20

def status
  @status
end