Flutter Engine
The Flutter Engine
|
Static Public Attributes | |
static final String | CONTENT_MODIFIED = "CONTENT_MODIFIED" |
static final String | DEBUG_PORT_COULD_NOT_BE_OPENED = "DEBUG_PORT_COULD_NOT_BE_OPENED" |
static final String | FILE_NOT_ANALYZED = "FILE_NOT_ANALYZED" |
static final String | FLUTTER_GET_WIDGET_DESCRIPTION_CONTENT_MODIFIED = "FLUTTER_GET_WIDGET_DESCRIPTION_CONTENT_MODIFIED" |
static final String | FLUTTER_GET_WIDGET_DESCRIPTION_NO_WIDGET = "FLUTTER_GET_WIDGET_DESCRIPTION_NO_WIDGET" |
static final String | FLUTTER_SET_WIDGET_PROPERTY_VALUE_INVALID_EXPRESSION = "FLUTTER_SET_WIDGET_PROPERTY_VALUE_INVALID_EXPRESSION" |
static final String | FLUTTER_SET_WIDGET_PROPERTY_VALUE_INVALID_ID = "FLUTTER_SET_WIDGET_PROPERTY_VALUE_INVALID_ID" |
static final String | FLUTTER_SET_WIDGET_PROPERTY_VALUE_IS_REQUIRED = "FLUTTER_SET_WIDGET_PROPERTY_VALUE_IS_REQUIRED" |
static final String | FORMAT_INVALID_FILE = "FORMAT_INVALID_FILE" |
static final String | FORMAT_WITH_ERRORS = "FORMAT_WITH_ERRORS" |
static final String | GET_ERRORS_INVALID_FILE = "GET_ERRORS_INVALID_FILE" |
static final String | GET_FIXES_INVALID_FILE = "GET_FIXES_INVALID_FILE" |
static final String | GET_IMPORTED_ELEMENTS_INVALID_FILE = "GET_IMPORTED_ELEMENTS_INVALID_FILE" |
static final String | GET_NAVIGATION_INVALID_FILE = "GET_NAVIGATION_INVALID_FILE" |
static final String | GET_REACHABLE_SOURCES_INVALID_FILE = "GET_REACHABLE_SOURCES_INVALID_FILE" |
static final String | GET_SIGNATURE_INVALID_FILE = "GET_SIGNATURE_INVALID_FILE" |
static final String | GET_SIGNATURE_INVALID_OFFSET = "GET_SIGNATURE_INVALID_OFFSET" |
static final String | GET_SIGNATURE_UNKNOWN_FUNCTION = "GET_SIGNATURE_UNKNOWN_FUNCTION" |
static final String | IMPORT_ELEMENTS_INVALID_FILE = "IMPORT_ELEMENTS_INVALID_FILE" |
static final String | INVALID_ANALYSIS_ROOT = "INVALID_ANALYSIS_ROOT" |
static final String | INVALID_EXECUTION_CONTEXT = "INVALID_EXECUTION_CONTEXT" |
static final String | INVALID_FILE_PATH_FORMAT = "INVALID_FILE_PATH_FORMAT" |
static final String | INVALID_OVERLAY_CHANGE = "INVALID_OVERLAY_CHANGE" |
static final String | INVALID_PARAMETER = "INVALID_PARAMETER" |
static final String | INVALID_REQUEST = "INVALID_REQUEST" |
static final String | ORGANIZE_DIRECTIVES_ERROR = "ORGANIZE_DIRECTIVES_ERROR" |
static final String | REFACTORING_REQUEST_CANCELLED = "REFACTORING_REQUEST_CANCELLED" |
static final String | SERVER_ALREADY_STARTED = "SERVER_ALREADY_STARTED" |
static final String | SERVER_ERROR = "SERVER_ERROR" |
static final String | SORT_MEMBERS_INVALID_FILE = "SORT_MEMBERS_INVALID_FILE" |
static final String | SORT_MEMBERS_PARSE_ERRORS = "SORT_MEMBERS_PARSE_ERRORS" |
static final String | UNKNOWN_REQUEST = "UNKNOWN_REQUEST" |
static final String | UNSUPPORTED_FEATURE = "UNSUPPORTED_FEATURE" |
An enumeration of the types of errors that can occur in the execution of the server.
@coverage dart.server.generated.types
Definition at line 16 of file RequestErrorCode.java.
|
static |
An "analysis.getErrors" or "analysis.getNavigation" request could not be satisfied because the content of the file changed before the requested results could be computed.
Definition at line 22 of file RequestErrorCode.java.
|
static |
The server was unable to open a port for the diagnostic server.
Definition at line 27 of file RequestErrorCode.java.
|
static |
A request specified a FilePath which does not match a file in an analysis root, or the requested operation is not available for the file.
Definition at line 33 of file RequestErrorCode.java.
|
static |
A file was change while widget descriptions were being computed.
Definition at line 38 of file RequestErrorCode.java.
|
static |
The given location does not have a supported widget.
Definition at line 43 of file RequestErrorCode.java.
|
static |
The given property expression is invalid, e.g. has a syntax error.
Definition at line 48 of file RequestErrorCode.java.
|
static |
The given property identifier is not valid. It might have never been valid, or a change to code invalidated it, or its TTL was exceeded.
Definition at line 54 of file RequestErrorCode.java.
|
static |
The value of the property cannot be removed, for example because the corresponding constructor argument is required, and the server does not know what default value to use.
Definition at line 60 of file RequestErrorCode.java.
|
static |
An "edit.format" request specified a FilePath which does not match a Dart file in an analysis root.
Definition at line 66 of file RequestErrorCode.java.
|
static |
An "edit.format" request specified a file that contains syntax errors.
Definition at line 71 of file RequestErrorCode.java.
|
static |
An "analysis.getErrors" request specified a FilePath which does not match a file currently subject to analysis.
Definition at line 77 of file RequestErrorCode.java.
|
static |
An "edit.getFixes" request specified a FilePath which does not match a file currently subject to analysis.
Definition at line 83 of file RequestErrorCode.java.
|
static |
An "analysis.getImportedElements" request specified a FilePath that does not match a file currently subject to analysis.
Definition at line 89 of file RequestErrorCode.java.
|
static |
An "analysis.getNavigation" request specified a FilePath which does not match a file currently subject to analysis.
Definition at line 95 of file RequestErrorCode.java.
|
static |
An "analysis.getReachableSources" request specified a FilePath which does not match a file currently subject to analysis.
Definition at line 101 of file RequestErrorCode.java.
|
static |
An "analysis.getSignature" request specified a FilePath which does not match a file currently subject to analysis.
Definition at line 107 of file RequestErrorCode.java.
|
static |
An "analysis.getSignature" request specified an offset which is not a valid location within for the contents of the file specified FilePath.
Definition at line 113 of file RequestErrorCode.java.
|
static |
An "analysis.getSignature" request specified an offset that could not be matched to a function call.
Definition at line 119 of file RequestErrorCode.java.
|
static |
An "edit.importElements" request specified a FilePath that does not match a file currently subject to analysis.
Definition at line 125 of file RequestErrorCode.java.
|
static |
A path passed as an argument to a request (such as analysis.reanalyze) is required to be an analysis root, but isn't.
Definition at line 131 of file RequestErrorCode.java.
|
static |
The context root used to create an execution context does not exist.
Definition at line 136 of file RequestErrorCode.java.
|
static |
The format of the given file path is invalid, e.g. is not absolute and normalized.
Definition at line 141 of file RequestErrorCode.java.
|
static |
An "analysis.updateContent" request contained a ChangeContentOverlay object which can't be applied, due to an edit having an offset or length that is out of range.
Definition at line 147 of file RequestErrorCode.java.
|
static |
One of the method parameters was invalid.
Definition at line 152 of file RequestErrorCode.java.
|
static |
A malformed request was received.
Definition at line 157 of file RequestErrorCode.java.
|
static |
An "edit.organizeDirectives" request specified a Dart file that cannot be analyzed. The reason is described in the message.
Definition at line 163 of file RequestErrorCode.java.
|
static |
Another refactoring request was received during processing of this one.
Definition at line 168 of file RequestErrorCode.java.
|
static |
The analysis server has already been started (and hence won't accept new connections).
This error is included for future expansion; at present the analysis server can only speak to one client at a time so this error will never occur.
Definition at line 176 of file RequestErrorCode.java.
|
static |
An internal error occurred in the analysis server. Also see the server.error notification.
Definition at line 181 of file RequestErrorCode.java.
|
static |
An "edit.sortMembers" request specified a FilePath which does not match a Dart file in an analysis root.
Definition at line 187 of file RequestErrorCode.java.
|
static |
An "edit.sortMembers" request specified a Dart file that has scan or parse errors.
Definition at line 192 of file RequestErrorCode.java.
|
static |
A request was received which the analysis server does not recognize, or cannot handle in its current configuration.
Definition at line 198 of file RequestErrorCode.java.
|
static |
The analysis server was requested to perform an action which is not supported.
This is a legacy error; it will be removed before the API reaches version 1.0.
Definition at line 205 of file RequestErrorCode.java.