Construct a Matrix error. This is a JavaScript Error with additional information specific to the standard Matrix error response.
The Matrix error JSON returned from the homeserver.
The Matrix 'errcode' value, e.g. "M_FORBIDDEN".
Same as MatrixError.errcode but with a default unknown string.
The Matrix 'error' value, e.g. "Missing token."
The raw Matrix error JSON used to construct this object.
The numeric HTTP status code given
Optional
Readonly
Generated using TypeDoc
Construct a Matrix error. This is a JavaScript Error with additional information specific to the standard Matrix error response.
Param
The Matrix error JSON returned from the homeserver.
Prop
The Matrix 'errcode' value, e.g. "M_FORBIDDEN".
Prop
Same as MatrixError.errcode but with a default unknown string.
Prop
The Matrix 'error' value, e.g. "Missing token."
Prop
The raw Matrix error JSON used to construct this object.
Prop
The numeric HTTP status code given