- removed unused code
 - updated the toString method for the ErrorResponse class to return the message