
* unify components import * refactor config and app context * refactor icons * refactor date, error, mxid and storage * refactor synapse utils
6 lines
184 B
TypeScript
6 lines
184 B
TypeScript
export type MatrixError = {
|
|
errcode: string;
|
|
error: string;
|
|
}
|
|
|
|
export const displayError = (errcode: string, status: number, message: string) => `${errcode} (${status}): ${message}`; |