ApiErrorService class abstract

ApiErrorService provides details about the error related to the last operation

Methods that return significant errors also return a GemError value. No matter which case, the error can be retrieved with ApiErrorService.apiError.

Constructors

ApiErrorService()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

apiError GemError
The error related to the last operation
no setter

Static Methods

registerOnErrorUpdate(void callback(GemError error)?) → void
Register a callback to be called when a mew error is received