GraphQLExceptionError class
One of an arbitrary number of errors that may occur during the execution of a GraphQL query.
This will almost always be passed to a GraphQLException, as it is useless alone.
Constructors
-
GraphQLExceptionError(String message, {List<
GraphExceptionErrorLocation> locations = const []})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
locations
→ List<
GraphExceptionErrorLocation> -
An optional list of locations within the source text where this error occurred.
final
- message → String
-
The reason execution was halted, whether it is a syntax error, or a runtime error, or some other exception.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited