OperationException class
Container for both graphqlErrors returned from the server and any linkException that caused a failure.
- Implemented types
Constructors
-
OperationException({LinkException? linkException, StackTrace? originalStackTrace, List? raw, Iterable<
GraphQLError> graphqlErrors = const []})
Properties
-
graphqlErrors
↔ List<
GraphQLError> -
Any graphql errors returned from the operation
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- linkException ↔ LinkException?
-
Errors encountered during execution such as network or cache errors
getter/setter pair
- originalStackTrace ↔ StackTrace?
-
getter/setter pair
- raw ↔ List?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addError(
GraphQLError error) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited