Matrix Error
@JsonClass(generateAdapter = true )
Content copied to clipboard
This data class holds the error defined by the matrix specifications. You shouldn't have to instantiate it. Ref: https://matrix.org/docs/spec/client_server/latest#api-standards
Constructors
Link copied to clipboard
fun MatrixError( @Json(name = "errcode" ) code: String, @Json(name = "error" ) message: String, @Json(name = "consent_uri" ) consentUri: String? = null, @Json(name = "limit_type" ) limitType: String? = null, @Json(name = "admin_contact" ) adminUri: String? = null, @Json(name = "retry_after_ms" ) retryAfterMillis: Long? = null, @Json(name = "soft_logout" ) isSoftLogout: Boolean? = null, @Json(name = "lookup_pepper" ) newLookupPepper: String? = null, @Json(name = "session" ) session: String? = null, @Json(name = "completed" ) completedStages: List<String>? = null, @Json(name = "flows" ) flows: List<InteractiveAuthenticationFlow>? = null, @Json(name = "params" ) params: JsonDict? = null)
Content copied to clipboard