SystemError
このコンテンツはまだ日本語訳がありません。
System error thrown when the library encounters an error that is not caused by the user’s misconfiguration.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SystemError(message, state?): SystemError
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
|
|
|
Returns
Section titled “Returns”SystemError
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”message
Section titled “message”message: string;
Inherited from
Section titled “Inherited from”name: string;
Inherited from
Section titled “Inherited from”stack?
Section titled “stack?”optional stack: string;
Inherited from
Section titled “Inherited from”state?
Section titled “state?”optional state: RunState<any, Agent<any, any>>;
Inherited from
Section titled “Inherited from”prepareStackTrace()?
Section titled “prepareStackTrace()?”static optional prepareStackTrace: (err, stackTraces) => any;
Optional override for formatting stack traces
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
|
|
|
|
Returns
Section titled “Returns”any
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Inherited from
Section titled “Inherited from”stackTraceLimit
Section titled “stackTraceLimit”static stackTraceLimit: number;
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”captureStackTrace()
Section titled “captureStackTrace()”static captureStackTrace(targetObject, constructorOpt?): void
Create .stack property on a target object
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
|
|
|
|
Returns
Section titled “Returns”void