Snap.Exception exception (Snap v0.1.0) View Source

Represents an Elasticsearch exception raised while executing a query.

Link to this section Summary

Link to this section Types

Specs

t() :: %Snap.Exception{
  __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_response(response)

View Source