mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-11 12:37:22 +01:00
6 lines
122 B
JavaScript
6 lines
122 B
JavaScript
|
export class HomeServerError extends Error {
|
||
|
constructor(body) {
|
||
|
super(body.error);
|
||
|
this.errcode = body.errcode;
|
||
|
}
|
||
|
}
|