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