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>
This commit is contained in:
Sam Roberts authored and Ruben Bridgewater committed 2017-09-09 16:44:58 -03:00
1 parent 5f22375922
commit c14ca4925a
1 file changed
+2 -2
+2 -2
View File
@@ -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}