RequestErrorException class

Exception thrown when the anchor returns an error response.

This exception is thrown when the server responds with an error object containing an error message. The error field contains the anchor's error description.

See: TransferServerSEP24Service

Implemented types

Constructors

RequestErrorException(String error)
Creates a RequestErrorException with error message.

Properties

error ↔ String
The error message provided by the anchor.
getter/setter pair
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
Returns error message from the anchor.
override

Operators

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