Rudimentary error response handling.