Skip to content

Commit 9f13040

Browse files
committed
doc: retain old phrasing
1 parent 1f288e1 commit 9f13040

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

doc/api/errors.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,12 @@ exactly how errors raised by those methods are propagated.
133133
<!--type=misc-->
134134

135135
Most asynchronous methods exposed by the Node.js core API follow an idiomatic
136-
pattern referred to as an _error-first callback_. With this pattern, a
137-
callback function is passed to the method as an argument. When the operation
138-
either completes or an error is raised, the callback function is called with
139-
the Error object (if any) passed as the first argument. If no error was raised,
140-
the first argument will be passed as `null`.
136+
pattern referred to as an _error-first callback_ (sometimes referred to as
137+
a _Node.js style callback_). With this pattern, a callback function is passed
138+
to the method as an argument. When the operation either completes or an error
139+
is raised, the callback function is called with
140+
the Error object (if any) passed as the first argument. If no error was
141+
raised, the first argument will be passed as `null`.
141142

142143
```js
143144
const fs = require('fs');

0 commit comments

Comments
 (0)