File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -342,15 +342,15 @@ to be added to the error object. If the optional parameter is NULL
342342then no code will be associated with the error. If a code is provided,
343343the name associated with the error is also updated to be:
344344
345- ```
345+ ```text
346346originalName [code]
347347```
348348
349349where originalName is the original name associated with the error
350350and code is the code that was provided. For example if the code
351351is 'ERR_ERROR_1' and a TypeError is being created the name will be:
352352
353- ```
353+ ``` text
354354TypeError [ERR_ERROR_1]
355355```
356356
@@ -3342,6 +3342,8 @@ support it:
33423342* If the function is not available, provide an alternate implementation
33433343 that does not use the function.
33443344
3345+ <!-- it's very convenient to have all the anchors indexed -->
3346+ <!-- lint disable no-unused-definitions remark-lint-->
33453347[ Asynchronous Operations ] : #n_api_asynchronous_operations
33463348[ Basic N-API Data Types ] : #n_api_basic_n_api_data_types
33473349[ ECMAScript Language Specification ] : https://tc39.github.io/ecma262/
You can’t perform that action at this time.
0 commit comments