diff --git a/dio/CHANGELOG.md b/dio/CHANGELOG.md index 2b9bdf6ce..6652013c3 100644 --- a/dio/CHANGELOG.md +++ b/dio/CHANGELOG.md @@ -5,7 +5,7 @@ See the [Migration Guide][] for the complete breaking changes list.** ## Unreleased -*None.* +- Fix `DioErrorType` deprecation hint. ## 5.2.0 diff --git a/dio/lib/src/dio_exception.dart b/dio/lib/src/dio_exception.dart index 9e0c33c07..2fd50644d 100644 --- a/dio/lib/src/dio_exception.dart +++ b/dio/lib/src/dio_exception.dart @@ -2,7 +2,7 @@ import 'options.dart'; import 'response.dart'; /// Deprecated in favor of [DioExceptionType] and will be removed in future major versions. -@Deprecated('Use DioException instead. This will be removed in 6.0.0') +@Deprecated('Use DioExceptionType instead. This will be removed in 6.0.0') typedef DioErrorType = DioExceptionType; /// [DioError] describes the exception info when a request failed.