throw out error code for switching server case