From 1b5128760315f0e1ebb5c09d1dd1d0b4ca5cd6bd Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Thu, 7 Sep 2017 13:32:37 -0700 Subject: [PATCH] doc: fix Error property markdown level MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Timothy Gu Reviewed-By: Tobias Nießen Reviewed-By: Ruben Bridgewater --- doc/api/errors.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/errors.md b/doc/api/errors.md index 3a9a303d6e78da..0df38e69f71815 100644 --- a/doc/api/errors.md +++ b/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}