Method: Meilisearch::ApiError#ms_code

Defined in:
lib/meilisearch/error.rb

#ms_codeObject (readonly) Also known as: code

:http_code # e.g. 400, 404… :http_message # e.g. Bad Request, Not Found… :http_body # The response body received from the Meilisearch API :ms_code # The error code given by the Meilisearch API :ms_type # The error type given by the Meilisearch API :ms_link # The documentation link given by the Meilisearch API :ms_message # The error message given by the Meilisearch API :message # The detailed error message of this error class



17
18
19
# File 'lib/meilisearch/error.rb', line 17

def ms_code
  @ms_code
end