printOutError static method

dynamic printOutError(
  1. OperationException exception
)

Print error output

Implementation

static printOutError(OperationException exception) {
  if (kDebugMode) {
    print('-------------------------------- GraphQL Exception --------------------------------');
    print(DateTime.now().toIso8601String());
    print(exception.linkException.toString());
    print(exception.graphqlErrors);
    print('-----------------------------------------------------------------------------------');
  }
}