OfflineResolveError
Defined in: core/src/errors/registry.ts:82
Cannot resolve import while offline with no cached version.
Extends
Constructors
Constructor
new OfflineResolveError(
importPath,location?):OfflineResolveError
Defined in: core/src/errors/registry.ts:85
Parameters
importPath
string
location?
Returns
OfflineResolveError
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
importPath
readonlyimportPath:string
Defined in: core/src/errors/registry.ts:83
location?
readonlyoptionallocation?:SourceLocation
Defined in: core/src/errors/base.ts:54
Source location where error occurred
Inherited from
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>