Indigo.prototype._checkResult = function()

in indigo.js [2270:2274]


Indigo.prototype._checkResult = function(result) {
    if (result < 0)
        throw new IndigoException(this.getLastError());
    return result;
};