error.ex (431B)
1 defmodule Absinthe.Phase.Error do 2 @moduledoc false 3 4 @enforce_keys [:message, :phase] 5 defstruct [ 6 :message, 7 :phase, 8 locations: [], 9 extra: %{}, 10 path: [] 11 ] 12 13 @type loc_t :: %{optional(any) => any, line: pos_integer, column: pos_integer} 14 15 @type t :: %__MODULE__{ 16 message: String.t(), 17 phase: module, 18 locations: [loc_t], 19 path: [], 20 extra: map 21 } 22 end