logError method

Future<T> logError()

Implementation

Future<T> logError() => catchError((error) async {
      printLog(error: error);
      throw error;
    });