make sure to pass response to NetworkError