UNPKG

@asteriskzuo/react-native-easemob

Version:
14 lines (10 loc) 471 B
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