```
if (error || !data) {
  callback(error || 'No network found');
  return;
}
```