Unverified Commit 0f615d42 authored by Ruben Bridgewater's avatar Ruben Bridgewater Committed by Beth Griggs
Browse files

util: add subclass and null prototype support for errors in inspect

This adds support to visualize the difference between errors with
null prototype or subclassed errors. This has a couple safeguards
to be sure that the output is not intrusive.

PR-URL: https://github.com/nodejs/node/pull/26923


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Signed-off-by: default avatarBeth Griggs <Bethany.Griggs@uk.ibm.com>
parent 17cc117f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment