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 <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
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

Lines changed: 2 additions & 2 deletions
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)