nodejsscript • Docs
nodejsscript / s / ProcessOutput
Error
new ProcessOutput(
code
,signal
,stdout
,stderr
,combined
,message
):ProcessOutput
• code: number
• signal: Signals
• stdout: string
• stderr: string
• combined: string
• message: string
Error.constructor
static
optional
prepareStackTrace: (err
,stackTraces
) =>any
Optional override for formatting stack traces
• err: Error
• stackTraces: CallSite
[]
any
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Error.prepareStackTrace
static
stackTraceLimit:number
Error.stackTraceLimit
name:
string
Error.name
message:
string
Error.message
optional
stack:string
Error.stack
get stdout():
string
string
get stderr():
string
string
get exitCode():
number
number
get signal():
Signals
Signals
static
captureStackTrace(targetObject
,constructorOpt
?):void
Create .stack property on a target object
• targetObject: object
• constructorOpt?: Function
void
Error.captureStackTrace
toString():
string
Returns a string representation of an object.
string
[custom]():
string
string