Packages
rust_graphql_parser
0.1.0
GraphQL parser implemented as a nif in Rust using Rustler. Converts GraphQL documents to an Absinthe.Language representation.
Current section
Files
Jump to
Current section
Files
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