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

Side by Side Diff: pkg/analysis_server/doc/api.html

Issue 535333003: Clarify some of the analysis server errors. (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html><head> 1 <html><head>
2 <meta charset="UTF-8"> 2 <meta charset="UTF-8">
3 <title>Analysis Server API Specification</title> 3 <title>Analysis Server API Specification</title>
4 <style>body { 4 <style>body {
5 font-family: sans-serif, serif; 5 font-family: sans-serif, serif;
6 padding-left: 5%; 6 padding-left: 5%;
7 padding-right: 5%; 7 padding-right: 5%;
8 } 8 }
9 h1 { 9 h1 {
10 text-align: center; 10 text-align: center;
(...skipping 2566 matching lines...) Expand 10 before | Expand all | Expand 10 after
2577 An enumeration of the types of errors that can occur in the 2577 An enumeration of the types of errors that can occur in the
2578 execution of the server. 2578 execution of the server.
2579 </p> 2579 </p>
2580 2580
2581 <dl><dt class="value">GET_ERRORS_ERROR</dt><dd> 2581 <dl><dt class="value">GET_ERRORS_ERROR</dt><dd>
2582 2582
2583 <p> 2583 <p>
2584 An error occurred during the processing of an 2584 An error occurred during the processing of an
2585 "analysis.getErrors" request. 2585 "analysis.getErrors" request.
2586 </p> 2586 </p>
2587 <p>
2588 This is a legacy error; it will be removed before the
2589 API reaches version 1.0.
2590 </p>
2587 2591
2588 </dd><dt class="value">INVALID_PARAMETER</dt><dd> 2592 </dd><dt class="value">INVALID_PARAMETER</dt><dd>
2589 2593
2590 <p> 2594 <p>
2591 One of the method parameters was invalid. 2595 One of the method parameters was invalid.
2592 </p> 2596 </p>
2593 </dd><dt class="value">INVALID_REQUEST</dt><dd> 2597 </dd><dt class="value">INVALID_REQUEST</dt><dd>
2594 2598
2595 <p> 2599 <p>
2596 A malformed request was received. 2600 A malformed request was received.
2597 </p> 2601 </p>
2598 </dd><dt class="value">SERVER_ALREADY_STARTED</dt><dd> 2602 </dd><dt class="value">SERVER_ALREADY_STARTED</dt><dd>
2599 2603
2600
2601 <p> 2604 <p>
2602 The analysis server has already been started (and hence 2605 The analysis server has already been started (and hence
2603 won't accept new connections). 2606 won't accept new connections).
2604 </p> 2607 </p>
2608 <p>
2609 This error is included for future expansion; at present
2610 the analysis server can only speak to one client at a
2611 time so this error will never occur.
2612 </p>
2605 </dd><dt class="value">UNANALYZED_PRIORITY_FILES</dt><dd> 2613 </dd><dt class="value">UNANALYZED_PRIORITY_FILES</dt><dd>
2606 2614
2607
2608 <p> 2615 <p>
2609 An "analysis.setPriorityFiles" request includes one or 2616 An "analysis.setPriorityFiles" request includes one or
2610 more files that are not being analyzed. 2617 more files that are not being analyzed.
2611 </p> 2618 </p>
2619 <p>
2620 This is a legacy error; it will be removed before the
2621 API reaches version 1.0.
2622 </p>
2623
2612 </dd><dt class="value">UNKNOWN_REQUEST</dt><dd> 2624 </dd><dt class="value">UNKNOWN_REQUEST</dt><dd>
2613 2625
2614 <p> 2626 <p>
2615 A request was received which the analysis server does 2627 A request was received which the analysis server does
2616 not recognize, or cannot handle in its current 2628 not recognize, or cannot handle in its current
2617 configuation. 2629 configuation.
2618 </p> 2630 </p>
2619 </dd><dt class="value">UNSUPPORTED_FEATURE</dt><dd> 2631 </dd><dt class="value">UNSUPPORTED_FEATURE</dt><dd>
2620 2632
2621 <p> 2633 <p>
2622 The analysis server was requested to perform an action 2634 The analysis server was requested to perform an action
2623 which is not supported. 2635 which is not supported.
2624 </p> 2636 </p>
2637 <p>
2638 This is a legacy error; it will be removed before the
2639 API reaches version 1.0.
2640 </p>
2625 2641
2626 </dd></dl></dd><dt class="typeDefinition"><a name="type_SearchId">Sear chId: String</a></dt><dd> 2642 </dd></dl></dd><dt class="typeDefinition"><a name="type_SearchId">Sear chId: String</a></dt><dd>
2627 2643
2628 <p> 2644 <p>
2629 An identifier used to associate search results with a search 2645 An identifier used to associate search results with a search
2630 request. 2646 request.
2631 </p> 2647 </p>
2632 </dd><dt class="typeDefinition"><a name="type_SearchResult">SearchResult: object</a></dt><dd> 2648 </dd><dt class="typeDefinition"><a name="type_SearchResult">SearchResult: object</a></dt><dd>
2633 <p> 2649 <p>
2634 A single result from a search request. 2650 A single result from a search request.
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
3098 <p> 3114 <p>
3099 This section contains a list of all of the errors that are 3115 This section contains a list of all of the errors that are
3100 produced by the server and the data that is returned with each. 3116 produced by the server and the data that is returned with each.
3101 </p> 3117 </p>
3102 <p> 3118 <p>
3103 TBD 3119 TBD
3104 </p> 3120 </p>
3105 3121
3106 3122
3107 </body></html> 3123 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698