[C] ResolveModuleError
Extends
Error
Constructors
new ResolveModuleError()
Parameters
Parameter | Type |
---|---|
code | ResolveModuleErrorCode |
message | string |
Returns
Overrides
Error.constructor
Properties
Property | Modifier | Type | Description | Inherited from |
---|---|---|---|---|
cause? | public | unknown | - | Error.cause |
code | public | ResolveModuleErrorCode | - | - |
message | public | string | - | Error.message |
name | public | string | - | Error.name |
stack? | public | string | - | Error.stack |
prepareStackTrace? | static | (err : Error , stackTraces : CallSite []) => any | Optional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-traces | Error.prepareStackTrace |
stackTraceLimit | static | number | - | Error.stackTraceLimit |
Methods
captureStackTrace()
Create .stack property on a target object
Parameters
Parameter | Type |
---|---|
targetObject | object |
constructorOpt ? | Function |
Returns
void
Inherited from
Error.captureStackTrace