Index: pkg/http/lib/src/client.dart |
diff --git a/pkg/http/lib/src/client.dart b/pkg/http/lib/src/client.dart |
index 1e6771fbfacc1e5dd44ec9b1f2f1e2bd6d06dadb..68c906772831925bfb3cb52f8c3feb0fd09d7c0f 100644 |
--- a/pkg/http/lib/src/client.dart |
+++ b/pkg/http/lib/src/client.dart |
@@ -92,7 +92,7 @@ abstract class Client { |
/// can be a [Uri] or a [String], and returns a Future that completes to the |
/// body of the response as a String. |
/// |
- /// The Future will emit an [HttpException] if the response doesn't have a |
+ /// The Future will emit a [ClientException] if the response doesn't have a |
/// success status code. |
/// |
/// For more fine-grained control over the request and response, use [send] or |
@@ -103,7 +103,7 @@ abstract class Client { |
/// can be a [Uri] or a [String], and returns a Future that completes to the |
/// body of the response as a list of bytes. |
/// |
- /// The Future will emit an [HttpException] if the response doesn't have a |
+ /// The Future will emit a [ClientException] if the response doesn't have a |
/// success status code. |
/// |
/// For more fine-grained control over the request and response, use [send] or |