GraphQLError class

GraphQL Error returned if execution fails

Annotations
  • @immutable

Constructors

GraphQLError({@required String message, List<ErrorLocation> locations, List path, Map<String, dynamic> extensions})
const

Properties

extensions Map<String, dynamic>
Implementation-specific extensions to this error
final
hashCode int
The hash code for this object. [...]
read-only, override
locations List<ErrorLocation>
Locations of the nodes in document which caused the error
final
message String
Error message
final
path List
Path of the error node in the query
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

operator ==(Object o) bool
The equality operator. [...]
override