onError support in ResponseHandler