Exception: Chroma::APIError
- Inherits:
-
ChromaError
- Object
- StandardError
- ChromaError
- Chroma::APIError
- Defined in:
- lib/chroma/errors.rb
Overview
APIError is a generic error that may be raised in cases where none of the other named errors cover the problem.
Instance Attribute Summary
Attributes inherited from ChromaError
#body, #error, #message, #response, #status
Instance Method Summary collapse
-
#initialize(message = nil, status: nil, body: nil, response: nil) ⇒ APIError
constructor
A new instance of APIError.
Methods inherited from ChromaError
Constructor Details
#initialize(message = nil, status: nil, body: nil, response: nil) ⇒ APIError
Returns a new instance of APIError.
57 58 59 60 61 |
# File 'lib/chroma/errors.rb', line 57 def initialize( = nil, status: nil, body: nil, response: nil) super end |