Renamed error to clientError