rename global_error_handler to server to consistency