RequestErrorCode class

RequestErrorCode

enum { INVALID_OVERLAY_CHANGE INVALID_PARAMETER PLUGIN_ERROR UNKNOWN_REQUEST }

Clients may not extend, implement or mix-in this class.

Implemented types

Constructors

RequestErrorCode(String name)
factory
RequestErrorCode.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the enumerated value. This should match the name of the static getter which provides access to this enumerated value.
final
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() String
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

INVALID_OVERLAY_CHANGE → const RequestErrorCode
An "analysis.updateContent" request contained a ChangeContentOverlay object that can't be applied. This can happen for two reasons:
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.
VALUES → const List<RequestErrorCode>
A list containing all of the enum values that are defined.