Class: CircularDependencyError¶
Defined in: core/src/errors/resolve.ts:35
Circular dependency detected.
Extends¶
Constructors¶
Constructor¶
new CircularDependencyError(
chain):CircularDependencyError
Defined in: core/src/errors/resolve.ts:39
Parameters¶
chain¶
string[]
Returns¶
CircularDependencyError
Overrides¶
Properties¶
cause?¶
readonlyoptionalcause:Error
Defined in: core/src/errors/base.ts:36
Original error if wrapping another error
Inherited from¶
chain¶
readonlychain:string[]
Defined in: core/src/errors/resolve.ts:37
Chain of files forming the cycle
code¶
readonlycode:string
Defined in: core/src/errors/base.ts:32
Error code
Inherited from¶
location?¶
readonlyoptionallocation:SourceLocation
Defined in: core/src/errors/base.ts:34
Source location where error occurred
Inherited from¶
Methods¶
format()¶
format():
string
Defined in: core/src/errors/base.ts:59
Format error for display.
Returns¶
string
Inherited from¶
toJSON()¶
toJSON():
Record\<string,unknown>
Defined in: core/src/errors/base.ts:72
Convert to JSON-serializable object.
Returns¶
Record\<string, unknown>