SEP30UnknownResponseException class
Exception thrown for unknown HTTP errors.
Represents HTTP errors not covered by other exception types. Contains the raw HTTP status code and response body for debugging.
Example:
try {
await recovery.registerAccount(address, request, jwt);
} on SEP30UnknownResponseException catch (e) {
print('HTTP ${e.code}: ${e.body}');
}
- Implemented types
Constructors
- SEP30UnknownResponseException(int code, String body)
- Creates a SEP30UnknownResponseException with HTTP details.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns error message with HTTP status code and response body.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited