code: func NewLocatedError(err interface{}, nodes []ast.Node) *Error {
  	var origError error
  	message := "An unknown error occurred."
  	if err, ok := err.(error); ok {
  		message = err.Error()
  		origError = err
  	}
  	if err, ok := err.(string); ok {
  		message = err
  		origError = errors.New(err)
  	}
  	stack := message
  	return NewError(
  		message,
  		nodes,
  		stack,
  		nil,
  		[]int{},
  		origError,
  	)
  }
docs: // NewLocatedError creates a graphql.Error with location info
  // @deprecated 0.4.18
  // Already exists in `graphql.NewLocatedError()`