RequestError class

RequestError

{ "code": RequestErrorCode "message": String "stackTrace": optional String }

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

Constructors

RequestError(RequestErrorCode code, String message, {String? stackTrace})
RequestError.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory

Properties

code RequestErrorCode
A code that uniquely identifies the error that occurred.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
message String
A short description of the error.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace String?
The stack trace associated with processing the request, used for debugging the plugin.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Returns a JSON presentation of the object.
toString() String
A string representation of this object.
override

Operators

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