Exception: MeiliSearch::CommunicationError
- Defined in:
- lib/meilisearch/error.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message) ⇒ CommunicationError
constructor
A new instance of CommunicationError.
Constructor Details
#initialize(message) ⇒ CommunicationError
Returns a new instance of CommunicationError.
58 59 60 61 |
# File 'lib/meilisearch/error.rb', line 58 def initialize() @message = "An error occurred while trying to connect to the MeiliSearch instance: #{}" super(@message) end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
56 57 58 |
# File 'lib/meilisearch/error.rb', line 56 def @message end |