Skip to content

Commit 1b51287

Browse files
sam-githubMylesBorins
authored andcommitted
doc: fix Error property markdown level
Properties should be documented at same level as their constructor, as they are in the other API doc sections. PR-URL: #15247 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Timothy Gu <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent af3b173 commit 1b51287

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/errors.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -256,14 +256,14 @@ will affect any stack trace captured *after* the value has been changed.
256256
If set to a non-number value, or set to a negative number, stack traces will
257257
not capture any frames.
258258

259-
#### error.code
259+
### error.code
260260

261261
* {string}
262262

263263
The `error.code` property is a string label that identifies the kind of error.
264264
See [Node.js Error Codes][] for details about specific codes.
265265

266-
#### error.message
266+
### error.message
267267

268268
* {string}
269269

0 commit comments

Comments
 (0)