Skip to content
On this page

Interface: MatrixWidgetAPIErrorResponse ​

Matrix.MatrixWidgetAPIErrorResponse

MatrixWidgetAPIErrorResponse interface represents an error response to a Matrix widget API request.

Hierarchy ​

Table of contents ​

Properties ​

Properties ​

action ​

• action: string

Inherited from ​

MatrixWidgetAPIResponse.action

Defined in ​

websg.d.ts:2767


api ​

• api: "fromWidget" | "toWidget"

Inherited from ​

MatrixWidgetAPIResponse.api

Defined in ​

websg.d.ts:2765


data ​

• data: unknown

Inherited from ​

MatrixWidgetAPIResponse.data

Defined in ​

websg.d.ts:2769


requestId ​

• requestId: string

Inherited from ​

MatrixWidgetAPIResponse.requestId

Defined in ​

websg.d.ts:2766


response ​

• response: Object

Type declaration ​

NameType
error{ message: string }
error.messagestring

Overrides ​

MatrixWidgetAPIResponse.response

Defined in ​

websg.d.ts:2783


widgetId ​

• widgetId: string

Inherited from ​

MatrixWidgetAPIResponse.widgetId

Defined in ​

websg.d.ts:2768