Represents a GraphQL error from the response.
Follows the GraphQL spec error format with message, locations,
path, and extensions fields. Use from_json/1 to parse from
a raw response error map.
Summary
Types
@type location() :: %{line: non_neg_integer(), column: non_neg_integer()}
@type t() :: %Grephql.Error{ extensions: map() | nil, locations: [map()] | nil, message: String.t(), path: [Grephql.Types.PathSegment.t()] | nil }