Packages

GraphQL parser implemented as a nif in Rust using Rustler. Converts GraphQL documents to an Absinthe.Language representation.

Current section

Files

Jump to
rust_graphql_parser lib graphql_parser error.ex
Raw

lib/graphql_parser/error.ex

defmodule GraphQLParser.Error do
@moduledoc false
@enforce_keys [:message]
defstruct [
:message,
locations: []
]
@type loc_t :: %{optional(any) => any, line: pos_integer, column: pos_integer}
@type t :: %__MODULE__{
message: String.t(),
locations: [loc_t]
}
end