added error generator methods to server