| @@ -24,7 +24,7 @@ var util = require("util"); | |||
| this._replied = true; | |||
| } | |||
| Request.prototype.error = function(msg) { | |||
| Request.prototype.fail = function(msg) { | |||
| if (this._replied) | |||
| throw new Error("Already replied."); | |||
| @@ -1,6 +1,6 @@ | |||
| { | |||
| "name": "socksugar", | |||
| "version": "0.2.0", | |||
| "version": "0.3.0", | |||
| "description": "Websockets with sugar on top.", | |||
| "main": "index.js", | |||
| "scripts": { | |||