onGQLError<T> method

  1. @override
GQLResult<T> onGQLError<T>(
  1. GQLException exception,
  2. StackTrace stackTrace
)
override

Error handling method that implementations can override

Implementation

@override
GQLResult<T> onGQLError<T>(GQLException exception, StackTrace stackTrace) {
  logException(exception, stackTrace);

  return Failure<T>(exception: GQLException.fromException(exception));
}