Got the error message, search the code and found it being thrown [from here](https://github.com/cujojs/curl/blob/master/src/curl.js#L487).