@asteriskzuo/react-native-easemob
Version:
easemob chat sdk of react-native.
14 lines (10 loc) • 471 B
JavaScript
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
export class ChatError {
constructor(params) {
_defineProperty(this, "code", void 0);
_defineProperty(this, "description", void 0);
this.code = params.code;
this.description = params.description;
}
}
//# sourceMappingURL=ChatError.js.map