6 lines
122 B
JavaScript
Raw Normal View History

2018-12-21 14:35:24 +01:00
export class HomeServerError extends Error {
constructor(body) {
super(body.error);
this.errcode = body.errcode;
}
}