Adding NetworkError error type.