The aforementioned uncaught exception happened due to calls to client.method from var client = api.createClient(). For a method called createClient to NOT return a client object is extremely counterintuitive; it seems to return a descriptor object with information/data you already know because that's what you passed to createClient. Recommend returning the actual client object, or at least renaming the method.
The aforementioned uncaught exception happened due to calls to
client.method
fromvar client = api.createClient()
. For a method called createClient to NOT return a client object is extremely counterintuitive; it seems to return a descriptor object with information/data you already know because that's what you passed to createClient. Recommend returning the actual client object, or at least renaming the method.