Added the ErrorResponse class.