Loading puzzles…
Loading puzzles…
Each puzzle is set in a real open-source repository. Read the code, find the answer, and select it in the editor.
New to reading code? Start with Learn: short lessons on values, branches, calls and tracing, then puzzles to try next.
Anyone can read the puzzles. Sign in to submit answers and keep track of what you've solved.
16 of 141 puzzles
How errors are raised, classified and turned into responses.
| Puzzle | Type | Difficulty | Repository | Topics |
|---|---|---|---|---|
| Where cancellation errors are born | Architecture | Medium | axios-axiosJavaScript | ErrorsHTTP clients |
| A request that was aborted before it started | Trace | Medium | axios-axiosJavaScript | Request lifecycleHTTP clientsErrors |
| Building the failure result of safeParse | Find | Easy |
| colinhacks-zodTypeScript |
| Validation and parsingErrors |
| The default HTTPException handler | Find | Hard | encode-starlettePython | ErrorsMiddleware and hooks |
| Where the default error responses come from | Architecture | Easy | fastapi-fastapiPython | ErrorsExtension points |
| Routers that can ask SmartRouter to fall back | Architecture | Easy | honojs-honoTypeScript | RoutingErrors |
| Where a circular import is reported | Find | Easy | nestjs-nestTypeScript | Dependency injectionErrors |
| Control-flow exceptions outside ClickException | Architecture | Medium | pallets-clickPython | Command-line appsErrors |
| Rejecting leftover arguments | Find | Medium | pallets-clickPython | Command-line appsErrors |
| Re-raising when no handler matches | Find | Medium | pallets-flaskPython | ErrorsRequest lifecycle |
| Finding the handler for an aborted request | Trace | Hard | pallets-flaskPython | ErrorsRequest lifecycle |
| Connection errors raised by the adapter | Architecture | Medium | psf-requestsPython | HTTP clientsErrors |
| The errors the single operator raises itself | Architecture | Easy | reactivex-rxjsTypeScript | ObservablesErrors |
| Direct subclasses of RequestError | Architecture | Easy | sindresorhus-gotTypeScript | ErrorsCode structure |
| From a 503 in stream mode to the retry delay | Trace | Hard | sindresorhus-gotTypeScript | Retries and timeoutsErrors |
| A Cloudflare KV binding that cannot write | Trace | Medium | unjs-unstorageTypeScript | ErrorsValidation and parsingCaching and storage |