Exception: MeiliSearch::InvalidDocumentId

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ InvalidDocumentId

Returns a new instance of InvalidDocumentId.



76
77
78
79
# File 'lib/meilisearch/error.rb', line 76

def initialize(message = nil)
  @message = "The document id is invalid. #{message}"
  super(@message)
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



74
75
76
# File 'lib/meilisearch/error.rb', line 74

def message
  @message
end