Class: OutputPlanPathError¶
Defined in: core/src/output-plan.ts:119
Error raised when a formatter emits a path that cannot be represented as a project-relative output.
Extends¶
Constructors¶
Constructor¶
new OutputPlanPathError(
path):OutputPlanPathError
Defined in: core/src/output-plan.ts:123
Parameters¶
path¶
string
Returns¶
OutputPlanPathError
Overrides¶
Properties¶
cause?¶
readonlyoptionalcause?:Error
Defined in: core/src/errors/base.ts:56
Original error if wrapping another error
Inherited from¶
code¶
readonlycode:string
Defined in: core/src/errors/base.ts:52
Error code
Inherited from¶
location?¶
readonlyoptionallocation?:SourceLocation
Defined in: core/src/errors/base.ts:54
Source location where error occurred
Inherited from¶
path¶
readonlypath:string
Defined in: core/src/output-plan.ts:121
Invalid formatter path.
Methods¶
format()¶
format():
string
Defined in: core/src/errors/base.ts:79
Format error for display.
Returns¶
string
Inherited from¶
toJSON()¶
toJSON():
Record\<string,unknown>
Defined in: core/src/errors/base.ts:92
Convert to JSON-serializable object.
Returns¶
Record\<string, unknown>