Browse Source

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: https://github.com/nodejs/node/pull/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>
canary-base
Sam Roberts 8 years ago
committed by Ruben Bridgewater
parent
commit
c14ca4925a
No known key found for this signature in database GPG Key ID: F07496B3EB3C1762
  1. 4
      doc/api/errors.md

4
doc/api/errors.md

@ -256,14 +256,14 @@ will affect any stack trace captured *after* the value has been changed.
If set to a non-number value, or set to a negative number, stack traces will
not capture any frames.
#### error.code
### error.code
* {string}
The `error.code` property is a string label that identifies the kind of error.
See [Node.js Error Codes][] for details about specific codes.
#### error.message
### error.message
* {string}

Loading…
Cancel
Save