handle method

Future handle(
  1. DioException e, {
  2. Map<String, dynamic> extra = const {},
  3. bool? silent,
})

Implementation

Future handle(
  DioException e, {
  Map<String, dynamic> extra = const {},
  bool? silent,
}) async {
  _handleException(_getExceptionFromDioError(e, silent ?? false), extra);
  exceptionOptions.reset();
}