Skip to content
@nhtio/swarm
Search
K
Main Navigation
Home
Quick Start
API
Appearance
Menu
Return to top
On this page
Interface: SwarmErrorOptions
Describes the options for the SwarmError class.
Properties
Property
Type
Description
cause?
Error
The cause data property of an Error instance indicates the specific original cause of the error.
trim?
number
How many rows to trim from the stack trace. This is useful for removing the stack trace of the current function from the error.