Return the error to the response handler.