Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1535)

Unified Diff: pkg/analysis_server/tool/spec/api.dart

Issue 530583004: Rename Error to RequestError in analysis server API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analysis_server/test/protocol_test.dart ('k') | pkg/analysis_server/tool/spec/spec_input.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/tool/spec/api.dart
diff --git a/pkg/analysis_server/tool/spec/api.dart b/pkg/analysis_server/tool/spec/api.dart
index 0c660a7f9d45acb85c762c879056bca73057736a..98a9e7100a8a36298383d51aea80df88dbb62a81 100644
--- a/pkg/analysis_server/tool/spec/api.dart
+++ b/pkg/analysis_server/tool/spec/api.dart
@@ -284,9 +284,13 @@ class Request extends ApiNode {
* "error" fields.
*/
TypeDecl get responseType {
- List<TypeObjectField> fields = [new TypeObjectField('id', new TypeReference(
- 'String', null), null), new TypeObjectField('error', new TypeReference('Error',
- null), null, optional: true)];
+ List<TypeObjectField> fields = [
+ new TypeObjectField('id', new TypeReference('String', null), null),
+ new TypeObjectField(
+ 'error',
+ new TypeReference('RequestError', null),
+ null,
+ optional: true)];
if (result != null) {
fields.add(new TypeObjectField('result', result, null));
}
« no previous file with comments | « pkg/analysis_server/test/protocol_test.dart ('k') | pkg/analysis_server/tool/spec/spec_input.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698