ResourceLimitExceeded

@Serializable
@SerialName(value = "M_RESOURCE_LIMIT_EXCEEDED")
data class ResourceLimitExceeded(val error: String, val adminContact: String? = null) : ErrorResponse

The request cannot be completed because the homeserver has reached a resource limit imposed on it. For example, a homeserver held in a shared hosting environment may reach a resource limit if it starts using too much memory or disk space.

The error MUST have an admin_contact field to provide the user receiving the error a place to reach out to. Typically, this error will appear on routes which attempt to modify state (eg: sending messages, account data, etc) and not routes which only read state (eg: /sync, get account data, etc).

Constructors

Link copied to clipboard
constructor(error: String, adminContact: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "admin_contact")
val adminContact: String?
Link copied to clipboard
open override val error: String