DetailedError
class
DetailedError
extends
Error
Extended by
-
ExperimentalError
Constructors
constructor
Parameters
Overwrites
Error.constructor
Properties
durationMs
readonly
public
durationMs
?:
number
An optional duration in milliseconds.
Can be used to display any duration related to the log.The value is always visible next to the message.
inspect
readonly
public
inspect
?:
string
An optional key used to inspect a related object.
This will be used together with the
Inspectable
interface todisplay additional information about the inspected object.When specified, the log will have an "inspect" button that will open the"Properties" tab and select the inspected object.
message
message
:
string
Error.message
name
name
:
string
Error.name
object
readonly
public
object
?:
any
An object that will be serialized as JSON and displayed under the message.
Visible only when the log is expanded.
remarks
readonly
public
remarks
?:
string
The main message of the log.
Always visible.
stack
stack
?:
string
Error.stack
prepareStackTrace
static
prepareStackTrace
?:
err
:
Error
stackTraces
:
CallSite
[]
=>
any
Error.prepareStackTrace
stackTraceLimit
static
stackTraceLimit
:
number
Error.stackTraceLimit
Methods
captureStackTrace
static
public
captureStackTrace
targetObject
:
object
constructorOpt
?:
Function
:
void
Create .stack property on a target object
Parameters
-
targetObject : object -
constructorOpt ?: Function
Error.captureStackTrace