| Index: generated/googleapis/lib/src/common_internal.dart
|
| diff --git a/generated/googleapis/lib/src/common_internal.dart b/generated/googleapis/lib/src/common_internal.dart
|
| index 829b364c520420dbefeb00e5e4bf98b2f5099e79..a2366348d2557949e897e13e0ef86c2f22f60502 100644
|
| --- a/generated/googleapis/lib/src/common_internal.dart
|
| +++ b/generated/googleapis/lib/src/common_internal.dart
|
| @@ -9,7 +9,7 @@ import "../common/common.dart" as common_external;
|
| import "package:http/http.dart" as http;
|
|
|
| const String USER_AGENT_STRING =
|
| - 'google-api-dart-client googleapis/0.3.1';
|
| + 'google-api-dart-client googleapis/0.4.0';
|
|
|
| const CONTENT_TYPE_JSON_UTF8 = 'application/json; charset=utf-8';
|
|
|
| @@ -482,8 +482,8 @@ class ResumableMediaUploader {
|
| 'Received less bytes than indicated by [Media.length].'));
|
| return;
|
| } else if (end > _uploadMedia.length) {
|
| - completer.completeError(
|
| - 'Received more bytes than indicated by [Media.length].');
|
| + completer.completeError(new common_external.ApiRequestError(
|
| + 'Received more bytes than indicated by [Media.length].'));
|
| return;
|
| }
|
| }
|
|
|