gql_error_link library

GQL Link to handle execution errors and exceptions

Classes

ErrorLink allows interception of GraphQL errors (using onGraphQLError) and LinkExceptions (using onException).

Typedefs

ErrorHandler = Stream<Response>? Function(Request request, NextLink forward, Response response)
A handler of GraphQL errors.
ExceptionHandler = Stream<Response>? Function(Request request, NextLink forward, LinkException exception)
A handler of Link Exceptions.