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

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

Issue 569743003: update error handling to send response with stack trace (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge 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 2561 matching lines...) Expand 10 before | Expand all | Expand 10 after
2572 <dl><dt class="field"><b><i>code ( <a href="#type_RequestErrorCode">Reques tErrorCode</a> )</i></b></dt><dd> 2572 <dl><dt class="field"><b><i>code ( <a href="#type_RequestErrorCode">Reques tErrorCode</a> )</i></b></dt><dd>
2573 2573
2574 <p> 2574 <p>
2575 A code that uniquely identifies the error that occurred. 2575 A code that uniquely identifies the error that occurred.
2576 </p> 2576 </p>
2577 </dd><dt class="field"><b><i>message ( String )</i></b></dt><dd> 2577 </dd><dt class="field"><b><i>message ( String )</i></b></dt><dd>
2578 2578
2579 <p> 2579 <p>
2580 A short description of the error. 2580 A short description of the error.
2581 </p> 2581 </p>
2582 </dd><dt class="field"><b><i>data ( <span style="color:#999999">option al</span> object )</i></b></dt><dd> 2582 </dd><dt class="field"><b><i>stackTrace ( <span style="color:#999999"> optional</span> String )</i></b></dt><dd>
2583 2583
2584 <p> 2584 <p>
2585 Additional data related to the error. This field is 2585 The stack trace associated with processing the request,
2586 omitted if there is no additional data available. 2586 used for debugging the server.
2587 </p> 2587 </p>
2588 </dd></dl></dd><dt class="typeDefinition"><a name="type_RequestErrorCo de">RequestErrorCode: String</a></dt><dd> 2588 </dd></dl></dd><dt class="typeDefinition"><a name="type_RequestErrorCo de">RequestErrorCode: String</a></dt><dd>
2589 <p> 2589 <p>
2590 An enumeration of the types of errors that can occur in the 2590 An enumeration of the types of errors that can occur in the
2591 execution of the server. 2591 execution of the server.
2592 </p> 2592 </p>
2593 2593
2594 <dl><dt class="value">GET_ERRORS_INVALID_FILE</dt><dd> 2594 <dl><dt class="value">GET_ERRORS_INVALID_FILE</dt><dd>
2595 2595
2596 <p> 2596 <p>
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
3177 <p> 3177 <p>
3178 This section contains a list of all of the errors that are 3178 This section contains a list of all of the errors that are
3179 produced by the server and the data that is returned with each. 3179 produced by the server and the data that is returned with each.
3180 </p> 3180 </p>
3181 <p> 3181 <p>
3182 TBD 3182 TBD
3183 </p> 3183 </p>
3184 3184
3185 3185
3186 </body></html> 3186 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698