Class: CyclicDependencyError
utilities/module.CyclicDependencyError
Hierarchy
↳
CyclicDependencyError
Constructors
constructor
• new CyclicDependencyError(message
, modules
): CyclicDependencyError
Parameters
Name | Type |
---|---|
message | string |
modules | GenericModule [] |
Returns
Overrides
Defined in
Properties
prepareStackTrace
▪ Static
Optional
prepareStackTrace: (err
: Error
, stackTraces
: CallSite
[]) => any
Type declaration
▸ (err
, stackTraces
): any
Optional override for formatting stack traces
Parameters
Name | Type |
---|---|
err | Error |
stackTraces | CallSite [] |
Returns
any
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Inherited from
Defined in
node_modules/.pnpm/@types+node@20.5.7/node_modules/@types/node/globals.d.ts:11
Methods
captureStackTrace
▸ captureStackTrace(targetObject
, constructorOpt?
): void
Create .stack property on a target object
Parameters
Name | Type |
---|---|
targetObject | object |
constructorOpt? | Function |
Returns
void
Inherited from
Defined in
node_modules/.pnpm/@types+node@20.5.7/node_modules/@types/node/globals.d.ts:4