Exception: MeiliSearch::TimeoutError

Inherits:
Error
  • Object
show all
Defined in:
lib/meilisearch/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ TimeoutError

Returns a new instance of TimeoutError.



67
68
69
70
# File 'lib/meilisearch/error.rb', line 67

def initialize(message = nil)
  @message = "The request was not processed in the expected time. #{message}"
  super(@message)
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



65
66
67
# File 'lib/meilisearch/error.rb', line 65

def message
  @message
end