UNPKG

softchatjs-core

Version:
2 lines 793 B
"use strict";var i=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var E=(n,e)=>{for(var o in e)i(n,o,{get:e[o],enumerable:!0})},d=(n,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of c(e))!s.call(n,t)&&t!==o&&i(n,t,{get:()=>e[t],enumerable:!(r=a(e,t))||r.enumerable});return n};var N=n=>d(i({},"__esModule",{value:!0}),n);var f={};E(f,{Errors:()=>l,buildError:()=>T});module.exports=N(f);var l=(o=>(o.USER_NOT_INITIATED="Unable to call method, call (initializeUser) method first, Err callingfunction: ",o.CONVERSATION_NOT_PREPARED="Method newConversation() on conversation was not called",o))(l||{}),T=(n,e)=>l[n]+e;0&&(module.exports={Errors,buildError}); //# sourceMappingURL=error.js.map