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

Represents an Elasticsearch exception raised while executing a query.

Summary

Types

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

Functions

Link to this function

exception_from_json(json)

View Source