Put in order · Vibe coding with Claude Code course · Module 11: Spotify clone

An abort is not a failure

Arrange in one line the error handling that skips aborted requests:

Items to put in order

  • setResult({ query: q, data: null });
  • if (
  • !controller.signal.aborted
  • )

You can check the correct answer by solving this task in the CodeWorlds game.