RequestErrorCode enum
RequestErrorCode
enum { INVALID_OVERLAY_CHANGE INVALID_PARAMETER PLUGIN_ERROR UNKNOWN_REQUEST }
Clients may not extend, implement or mix-in this class.
Values
- INVALID_OVERLAY_CHANGE → const RequestErrorCode
-
An "analysis.updateContent" request contained a ChangeContentOverlay object that can't be applied. This can happen for two reasons:
- there was no preceding AddContentOverlay and hence no content to which the edits could be applied, or
- one or more of the specified edits have an offset or length that is out of range.
- INVALID_PARAMETER → const RequestErrorCode
-
One of the method parameters was invalid.
- PLUGIN_ERROR → const RequestErrorCode
-
An internal error occurred in the plugin while attempting to respond to a request. Also see the plugin.error notification for errors that occur outside of handling a request.
- UNKNOWN_REQUEST → const RequestErrorCode
-
A request was received that the plugin does not recognize, or cannot handle in its current configuration.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{ClientUriConverter? clientUriConverter}) → String -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
RequestErrorCode> - A constant List of the values in this enum, in order of their declaration.