• Runtime
  • Examples
  • API
  • Lint rules

API reference

  • Ende namespace
    • Cloud
    • Desktop
    • Errors
    • Fetch
    • FFI
    • File System
    • GPU
    • HTTP Server
    • I/O
    • Linter
    • Network
    • Permissions
    • Runtime
    • Subprocess
    • Telemetry
    • Testing
    • WebSockets
  • Web platform APIs
    • Cache
    • Canvas
    • Crypto
    • Encoding
    • Events
    • Fetch
    • File
    • Geometry Interfaces Module API
    • GPU
    • I/O
    • Intl
    • Messaging
    • Performance
    • Platform
    • Storage
    • Streams
    • URL
    • Wasm
    • WebSockets
    • Workers
    • Other
  • Standard library

ErrorConstructor

interface

interface ErrorConstructor

Properties

stackTraceLimit

stackTraceLimit: number

Methods

captureStackTrace

captureStackTrace(error: Object, constructor?: Function): void

See https://v8.dev/docs/stack-trace-api#stack-trace-collection-for-custom-exceptions.

On this page

  • Properties
    • stackTraceLimit
  • Methods
    • captureStackTrace

Source on GitHub