[ScriptName("error")] public HttpPromise Error(HttpDelegate2 function) { return(this); }
[ScriptName("success")] public HttpPromise Success(HttpDelegate2 function) { return(this); }