Commit fbcc962 1 parent b59eddd commit fbcc962 Copy full SHA for fbcc962
File tree 1 file changed +4
-2
lines changed
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
342
342
then no code will be associated with the error. If a code is provided,
343
343
the name associated with the error is also updated to be:
344
344
345
- ```
345
+ ```text
346
346
originalName [code]
347
347
```
348
348
349
349
where originalName is the original name associated with the error
350
350
and code is the code that was provided. For example if the code
351
351
is 'ERR_ERROR_1' and a TypeError is being created the name will be:
352
352
353
- ```
353
+ ``` text
354
354
TypeError [ERR_ERROR_1]
355
355
```
356
356
@@ -3342,6 +3342,8 @@ support it:
3342
3342
* If the function is not available, provide an alternate implementation
3343
3343
that does not use the function.
3344
3344
3345
+ <!-- it's very convenient to have all the anchors indexed -->
3346
+ <!-- lint disable no-unused-definitions remark-lint-->
3345
3347
[ Asynchronous Operations ] : #n_api_asynchronous_operations
3346
3348
[ Basic N-API Data Types ] : #n_api_basic_n_api_data_types
3347
3349
[ ECMAScript Language Specification ] : https://tc39.github.io/ecma262/
You can’t perform that action at this time.
0 commit comments