7 lines
190 B
TypeScript
7 lines
190 B
TypeScript
export interface MatrixError {
|
|
errcode: string;
|
|
error: string;
|
|
}
|
|
|
|
export const displayError = (errcode: string, status: number, message: string) => `${errcode} (${status}): ${message}`;
|