What does the error-first callback convention mean?
- A The callback's first argument is an error object or null
- B Errors must be thrown before the callback runs
- C The callback only fires on error
- D Errors are returned as the second argument
Answer
The callback's first argument is an error object or null
The signature (err, result) requires checking err before using the result. It predates promises and is still used across the core library.





