以下のコードでネットワークエラーが発生した場合、どのような処理が実行されますか? ```javascript fetch('https://api.example.com/data') .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.log('エラー:', error.message)); ```