class GraphQL::Client::Errors

def initialize(errors = [], path = [], all = false)

all - Boolean flag if all nested errors should be available
path - Array of String|Integer fields to data
errors - Array of GraphQL Hash error objects

Internal: Initialize from collection of errors.
def initialize(errors = [], path = [], all = false)
  @ast_path = path
  @all = all
  @raw_errors = errors
end