FileNotFoundError
Defined in: core/src/errors/resolve.ts:24
File not found during resolution.
Extends
Constructors
Constructor
new FileNotFoundError(
path,location?):FileNotFoundError
Defined in: core/src/errors/resolve.ts:28
Parameters
path
string
location?
Returns
FileNotFoundError
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/errors/resolve.ts:26
Path that was not found
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>