Method: MeiliSearch::ApiError#http_code

Defined in:
lib/meilisearch/error.rb

#http_codeObject (readonly)

: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



14
15
16
# File 'lib/meilisearch/error.rb', line 14

def http_code
  @http_code
end