MatrixException class

Represents a special response from the Homeserver for errors.

Implemented types
Implementers

Constructors

MatrixException(Response response)
MatrixException.fromJson(Map<String, Object?> content)

Properties

authenticationFlows List<AuthenticationFlow>?
For each endpoint, a server offers one or more 'flows' that the client can use to authenticate itself. Each flow comprises a series of stages. If this request doesn't need additional authentication, then this is null.
no setter
authenticationParams Map<String, Object?>?
This section contains any information that the client will need to know in order to use a given type of authentication. For each authentication type presented, that type may be present as a key in this dictionary. For example, the public part of an OAuth client ID could be given here.
no setter
completedAuthenticationFlows List<String>
Returns the list of already completed authentication flows from previous requests.
no setter
errcode String
The unique identifier for this error.
no setter
error MatrixError
Returns the errcode as an MatrixError.
no setter
errorMessage String
A human readable error description.
no setter
hashCode int
The hash code for this object.
no setterinherited
raw Map<String, Object?>
final
requireAdditionalAuthentication bool
Returns true if the server requires additional authentication.
no setter
response ↔ Response?
The frozen request which triggered this Error
getter/setter pair
retryAfterMs int?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
session String?
This is a session identifier that the client must pass back to the homeserver, if one is provided, in subsequent attempts to authenticate in the same API call.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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