Indigo.prototype._checkResultString = function()

in indigo.js [2294:2298]


Indigo.prototype._checkResultString = function(result) {
    if (typeof result !== 'string')
        throw new IndigoException(this.getLastError());
    return result;
};