Commit 1da67299 authored by Antoine du Hamel's avatar Antoine du Hamel Committed by Node.js GitHub Bot
Browse files

lib: use primordials when calling methods of Error

This is to unsure that code using those methods won't crash if the
methods are deleted in userland.

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


Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarShingo Inoue <leko.noor@gmail.com>
parent 05bb1b3f
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