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

Side by Side Diff: pkg/analysis_server/tool/spec/spec_input.html

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/analysis_server/tool/spec/api.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <meta charset="UTF-8"/> 3 <meta charset="UTF-8"/>
4 <title>Analysis Server API Specification</title> 4 <title>Analysis Server API Specification</title>
5 </head> 5 </head>
6 <body> 6 <body>
7 <h1>Analysis Server API Specification</h1> 7 <h1>Analysis Server API Specification</h1>
8 <h1 style="color:#999999">WORKING DRAFT - Version <version>0.3</version></h1 > 8 <h1 style="color:#999999">WORKING DRAFT - Version <version>0.3</version></h1 >
9 <p> 9 <p>
10 This document contains a specification of the API provided by 10 This document contains a specification of the API provided by
(...skipping 1858 matching lines...) Expand 10 before | Expand all | Expand 10 after
1869 <value><code>METHOD</code></value> 1869 <value><code>METHOD</code></value>
1870 <value><code>PARAMETER</code></value> 1870 <value><code>PARAMETER</code></value>
1871 <value><code>SETTER</code></value> 1871 <value><code>SETTER</code></value>
1872 <value><code>TOP_LEVEL_VARIABLE</code></value> 1872 <value><code>TOP_LEVEL_VARIABLE</code></value>
1873 <value><code>TYPE_PARAMETER</code></value> 1873 <value><code>TYPE_PARAMETER</code></value>
1874 <value><code>UNIT_TEST_GROUP</code></value> 1874 <value><code>UNIT_TEST_GROUP</code></value>
1875 <value><code>UNIT_TEST_TEST</code></value> 1875 <value><code>UNIT_TEST_TEST</code></value>
1876 <value><code>UNKNOWN</code></value> 1876 <value><code>UNKNOWN</code></value>
1877 </enum> 1877 </enum>
1878 </type> 1878 </type>
1879 <type name="Error">
1880 <p>
1881 An indication of a problem with the execution of the server,
1882 typically in response to a request.
1883 </p>
1884 <object>
1885 <field name="code">
1886 <ref>RequestErrorCode</ref>
1887 <p>
1888 A code that uniquely identifies the error that occurred.
1889 </p>
1890 </field>
1891 <field name="message">
1892 <ref>String</ref>
1893 <p>
1894 A short description of the error.
1895 </p>
1896 </field>
1897 <field name="data" optional="true">
1898 <ref>object</ref>
1899 <p>
1900 Additional data related to the error. This field is
1901 omitted if there is no additional data available.
1902 </p>
1903 </field>
1904 </object>
1905 </type>
1906 <type name="ErrorFixes"> 1879 <type name="ErrorFixes">
1907 <p> 1880 <p>
1908 A list of fixes associated with a specific error 1881 A list of fixes associated with a specific error
1909 </p> 1882 </p>
1910 <object> 1883 <object>
1911 <field name="error"> 1884 <field name="error">
1912 <ref>AnalysisError</ref> 1885 <ref>AnalysisError</ref>
1913 <p> 1886 <p>
1914 The error with which the fixes are associated. 1887 The error with which the fixes are associated.
1915 </p> 1888 </p>
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
2564 again be read from the file system. 2537 again be read from the file system.
2565 </p> 2538 </p>
2566 <p> 2539 <p>
2567 If this directive is used on a file that doesn't currently 2540 If this directive is used on a file that doesn't currently
2568 have a content overlay, it has no effect. 2541 have a content overlay, it has no effect.
2569 </p> 2542 </p>
2570 <object> 2543 <object>
2571 <field name="type" value="remove"><ref>String</ref></field> 2544 <field name="type" value="remove"><ref>String</ref></field>
2572 </object> 2545 </object>
2573 </type> 2546 </type>
2547 <type name="RequestError">
2548 <p>
2549 An indication of a problem with the execution of the server,
2550 typically in response to a request.
2551 </p>
2552 <object>
2553 <field name="code">
2554 <ref>RequestErrorCode</ref>
2555 <p>
2556 A code that uniquely identifies the error that occurred.
2557 </p>
2558 </field>
2559 <field name="message">
2560 <ref>String</ref>
2561 <p>
2562 A short description of the error.
2563 </p>
2564 </field>
2565 <field name="data" optional="true">
2566 <ref>object</ref>
2567 <p>
2568 Additional data related to the error. This field is
2569 omitted if there is no additional data available.
2570 </p>
2571 </field>
2572 </object>
2573 </type>
2574 <type name="RequestErrorCode"> 2574 <type name="RequestErrorCode">
2575 <p> 2575 <p>
2576 An enumeration of the types of errors that can occur in the 2576 An enumeration of the types of errors that can occur in the
2577 execution of the server. 2577 execution of the server.
2578 </p> 2578 </p>
2579 <enum> 2579 <enum>
2580 <value> 2580 <value>
2581 <code>GET_ERRORS_ERROR</code> 2581 <code>GET_ERRORS_ERROR</code>
2582 <p> 2582 <p>
2583 An error occurred during the processing of an 2583 An error occurred during the processing of an
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
3185 <h2>Errors</h2> 3185 <h2>Errors</h2>
3186 <p> 3186 <p>
3187 This section contains a list of all of the errors that are 3187 This section contains a list of all of the errors that are
3188 produced by the server and the data that is returned with each. 3188 produced by the server and the data that is returned with each.
3189 </p> 3189 </p>
3190 <p> 3190 <p>
3191 TBD 3191 TBD
3192 </p> 3192 </p>
3193 </body> 3193 </body>
3194 </html> 3194 </html>
OLDNEW
« no previous file with comments | « pkg/analysis_server/tool/spec/api.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698