blackberry-webworks/BBX-Framework — comment on commit 50acffa0a4f22cdd80f547a777b4a11310d659d0
File: ext/blackberry.system/client.js line 11
By gtanner:

Since I have seen this in more than one place, does this make sense to pull into utils,

Also the error shouldn't be returned the same way as the data, best would be to throw an exception.