Skip to content

Commit

Permalink
doc: fix Error property markdown level
Browse files Browse the repository at this point in the history
Properties should be documented at same level as their constructor, as
they are in the other API doc sections.

PR-URL: nodejs#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]>
  • Loading branch information
sam-github authored and BridgeAR committed Sep 9, 2017
1 parent 5f22375 commit c14ca49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit c14ca49

Please sign in to comment.