handle err objects with responseHandler