GraphQLException class

An exception that occurs during execution of a GraphQL query.

Implemented types

Constructors

GraphQLException(List<GraphQLExceptionError> errors)
GraphQLException.fromMessage(String message)
factory
GraphQLException.fromSourceSpan(String message, FileSpan span)
factory

Properties

errors List<GraphQLExceptionError>
A list of all specific errors, with text representation, that caused this exception.
final
hashCode int
The hash code for this object.
no setterinherited
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, List<Map<String, dynamic>>>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited