handle method
Handles Dio exceptions and adds them to the exceptions stream.
Implementation
Future<void> handle(
DioException e, {
bool? silent,
}) async {
final exception = _getExceptionFromDioError(e, silent ?? false);
exceptions.add(exception);
// exceptionOptions.reset();
}