Skip to content

Commit f7dfb77

Browse files
Maledongfhemberger
authored andcommitted
Fix: Fixture of the broken link (#2213)
'error callback convention' link is broken, this is the fixture for it. Ref: #2211.
1 parent d52ce84 commit f7dfb77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

locale/en/knowledge/getting-started/control-flow/what-are-callbacks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ The typical convention with asynchronous functions (which almost all of your fun
5151
//This code gets run after the async operation gets run
5252
});
5353

54-
You will almost always want to follow the [error callback convention](/articles/errors/what-are-the-error-conventions), since most Node.js users will expect your project to follow them. The general idea is that the callback is the last parameter. The callback gets called after the function is done with all of its operations. Traditionally, the first parameter of the callback is the `error` value. If the function hits an error, then they typically call the callback with the first parameter being an Error object. If it cleanly exits, then they will call the callback with the first parameter being null and the rest being the return value(s).
54+
You will almost always want to follow the [error callback convention](/en/knowledge/errors/what-are-the-error-conventions), since most Node.js users will expect your project to follow them. The general idea is that the callback is the last parameter. The callback gets called after the function is done with all of its operations. Traditionally, the first parameter of the callback is the `error` value. If the function hits an error, then they typically call the callback with the first parameter being an Error object. If it cleanly exits, then they will call the callback with the first parameter being null and the rest being the return value(s).

0 commit comments

Comments
 (0)