Pass the actual response to callback in error conditions to allow custom handling