Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Coding in the AI era
/
Code prompt vocabulary
Which wording defines a reviewable failure contract?
from Code prompt vocabulary
Node 24
beginner
2 min
Which wording defines a reviewable failure contract?
For insufficient seats, return { ok: false, error: INSUFFICIENT_SEATS }, leave inventory unchanged, and send no confirmation
Handle every reservation error gracefully
Catch exceptions and write useful logs
Never let anything bad happen during reservation
Check
Ask AI about this kata
Report an error
previous kata
Why ask to keep delivery behind an injected callable?
Quiz
next kata
Which request most precisely preserves a function interface?
Quiz
A new version is available
Reload