Skip to content

Commit 8135d14

Browse files
kirkmorrowCopilot
andauthored
Update packages/dart/lib/src/network/parse_dio_client.dart
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 71e71ed commit 8135d14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/dart/lib/src/network/parse_dio_client.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ class ParseDioClient extends ParseClient {
215215
String _buildErrorJson(String errorMessage) {
216216
final Map<String, dynamic> errorPayload = <String, dynamic>{
217217
'code': ParseError.otherCause,
218-
'error': errorMessage,
218+
'error': 'NetworkError',
219+
'exception': errorMessage,
219220
};
220221
return jsonEncode(errorPayload);
221222
}

0 commit comments

Comments
 (0)