Changed generic type of IHttpPromiseCallback for error callback in then chaining