Exception: MistralClient::MistralResponseError
- Inherits:
-
MistralError
- Object
- StandardError
- MistralError
- MistralClient::MistralResponseError
- Defined in:
- lib/mistral_client/error.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ MistralResponseError
constructor
A new instance of MistralResponseError.
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
#response ⇒ Object (readonly)
Returns the value of attribute response.
9 10 11 |
# File 'lib/mistral_client/error.rb', line 9 def response @response end |