Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for Error.captureStackTrace().
Books 0
This corpus is unavailable: timeout
Dictionary 0
This corpus is unavailable: timeout
Papers 0
This corpus is unavailable: timeout
Developer library 6
Firefox 138 release notes for developers
b/Security/Practical_implementation_guides/SRI)). ([Firefox bug 1945540](https://bugzil.la/1945540)). ### CSS No notable changes ### JavaScript - The Error.captureStackTrace() static method is now supported. This installs stack trace information on a provided object as the Error.stack property. Its main use case is to install a stack trace on a custom error object that does not derive from the Error interface. ([
Firefox 136 release notes for developers
imum word length for hyphenation as well as the number of characters before and after the hyphen. ([Firefox bug 1521723](https://bugzil.la/1521723)). - **Error.captureStackTrace()**: `javascript.options.experimental.error_capture_stack_trace`. The Error.captureStackTrace() static method installs stack trace information on a provided object as the Error.stack property. Its main use case is to install a stack trace
Error
rror.stackTraceLimit - : A non-standard numerical property that limits how many stack frames to include in an error stack trace. ## Static methods - Error.captureStackTrace() - : A non-standard function that creates the stack property on the provided object. - Error.isError() - : Returns `true` if the argument is an error, or `false` otherwise. - `Error.prepareStackTrace()` - : A non-standard function th
Error.captureStackTrace()
The **`Error.captureStackTrace()`** static method installs stack trace information on a provided object as the [`stack`](/docs/Web/JavaScript/Reference/Global_Objects/Error/stack) property. ## Syntax ```js-nolint Error.captureStackTrace(object) Error.captureStackTrace(object, constructor) ``` ### Parameters - `object` - : The object on which to add the `stack` property. - `constructor` - : A function, typica
Error.prototype.stack
at filename.js:13:1 ``` V8 provides the non-standard [stack trace API](https://v8.dev/docs/stack-trace-api) for customizing the stack trace, including Error.captureStackTrace(), Error.stackTraceLimit, and `Error.prepareStackTrace()`. Other engines support this API to varying extents. Different engines set this value at different times. Most modern engines set it when the Error object is created. This means you ca
Error.stackTraceLimit
Only two frames in supporting engines; all frames in others ``` ## Specifications ## Browser compatibility ## See also - Error.prototype.stack - Error.captureStackTrace() - [Stack trace API](https://v8.dev/docs/stack-trace-api) in the V8 docs