ErrorPolicy determines the level of events for errors in the execution result. The options are:
- none (default): Any GraphQL Errors are treated the same as network errors and any data is ignored from the response.
- ignore: Ignore allows you to read any data that is returned alongside GraphQL Errors, but doesn't save the errors or report them to your UI.
- all: Using the all policy is the best way to notify your users of potential issues while still showing as much data as possible from your server. It saves both data and errors into the Apollo Cache so your UI can use them.
- index → int
The integer index of this enum.final
- hashCode → int
The hash code for this object.
- runtimeType → Type
A representation of the runtime type of the object.
) → String
- Returns a string representation of this object.
Invocation invocation ) → dynamic
Invoked when a non-existent method or property is accessed.
dynamic other ) → bool
The equality operator.