Add NETWORK_ERROR to switch statement