Error handling in network manager.