Exception: MistralClient::MistralResponseError

Inherits:
MistralError
  • Object
show all
Defined in:
lib/mistral_client/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ MistralResponseError

Returns a new instance of MistralResponseError.



11
12
13
14
# File 'lib/mistral_client/error.rb', line 11

def initialize(response)
  @response = response
  super(response)
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



9
10
11
# File 'lib/mistral_client/error.rb', line 9

def response
  @response
end