We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
error.stack
1 parent c9002a9 commit 39892e5Copy full SHA for 39892e5
doc/api/errors.md
@@ -387,8 +387,8 @@ loop tick.
387
present on builtin `Error` objects (those for which [`Error.isError`][] returns
388
true). If `error` is not a builtin error object, then the `error.stack` getter
389
will always return `undefined`, and the setter will do nothing. This can occur
390
-if `error` is an object that has had its prototype set to `Error.prototype`,
391
-but was not constructed by a builtin `Error` constructor.
+if the accessor is manually invoked with a `this` value that is not a builtin
+error object, such as a {Proxy}.
392
393
## Class: `AssertionError`
394
0 commit comments