Exception: Chroma::InvalidRequestError

Inherits:
ChromaError
  • Object
show all
Defined in:
lib/chroma/errors.rb

Overview

InvalidRequestError is raised when a request is initiated with invalid parameters.

Instance Attribute Summary

Attributes inherited from ChromaError

#body, #error, #message, #response, #status

Instance Method Summary collapse

Methods inherited from ChromaError

#to_s

Constructor Details

#initialize(message = nil, status: nil, body: nil, response: nil) ⇒ InvalidRequestError

Returns a new instance of InvalidRequestError.



36
37
38
39
40
# File 'lib/chroma/errors.rb', line 36

def initialize(message = nil, status: nil, body: nil, response: nil)
  super

  decode_message
end