Snap.ResponseError exception (Snap v0.5.2) View Source

Represents an Elasticsearch exception raised while executing a query.

Link to this section Summary

Link to this section Types

Specs

t() :: %Snap.ResponseError{
  __exception__: term(),
  col: integer() | nil,
  line: integer() | nil,
  message: String.t() | nil,
  raw: map() | nil,
  status: integer() | nil,
  type: String.t() | nil
}

Link to this section Functions

Link to this function

exception_from_json(json)

View Source