Exception: GraphQL::Stitching::DocumentError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/graphql/stitching.rb

Instance Method Summary collapse

Constructor Details

#initialize(element) ⇒ DocumentError

Returns a new instance of DocumentError.



29
30
31
# File 'lib/graphql/stitching.rb', line 29

def initialize(element)
  super("Invalid #{element} encountered in document")
end