UNPKG

@jsxc/jsxc

Version:

Real-time XMPP chat application with video calls, file transfer and encrypted communication

12 lines (9 loc) 240 B
export default class BaseError { constructor(private message: string, private errorCode?: string) {} public toString(): string { return this.message; } public getErrorCode(): string { return this.errorCode; } }