DioException.connectionError constructor
DioException.connectionError({
- required RequestOptions requestOptions,
- required String reason,
- Object? error,
Implementation
factory DioException.connectionError({
required RequestOptions requestOptions,
required String reason,
Object? error,
}) =>
DioException(
type: DioExceptionType.connectionError,
message: 'The connection errored: $reason '
'This indicates an error which most likely cannot be solved by the library.',
requestOptions: requestOptions,
response: null,
error: error,
);