Method: GraphQL::Client::Errors#all
- Defined in:
- lib/graphql/client/errors.rb
permalink #all ⇒ Object
Public: Return collection of all nested errors.
data.errors[:node]
data.errors.all[:node]
Returns Errors collection.
51 52 53 54 55 56 57 |
# File 'lib/graphql/client/errors.rb', line 51 def all if @all self else self.class.new(@raw_errors, @ast_path, true) end end |