Exception: MeiliSearch::InvalidDocumentId
- 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 = nil) ⇒ InvalidDocumentId
constructor
A new instance of InvalidDocumentId.
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( = nil) @message = "The document id is invalid. #{}" super(@message) end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
74 75 76 |
# File 'lib/meilisearch/error.rb', line 74 def @message end |