Class: GitRefNotFoundError¶
Defined in: core/src/errors/resolve.ts:84
Git ref (branch/tag/commit) not found.
Extends¶
Constructors¶
Constructor¶
new GitRefNotFoundError(
ref,url,location?):GitRefNotFoundError
Defined in: core/src/errors/resolve.ts:90
Parameters¶
ref¶
string
url¶
string
location?¶
Returns¶
GitRefNotFoundError
Overrides¶
Properties¶
cause?¶
readonlyoptionalcause:Error
Defined in: core/src/errors/base.ts:43
Original error if wrapping another error
Inherited from¶
code¶
readonlycode:string
Defined in: core/src/errors/base.ts:39
Error code
Inherited from¶
location?¶
readonlyoptionallocation:SourceLocation
Defined in: core/src/errors/base.ts:41
Source location where error occurred
Inherited from¶
ref¶
readonlyref:string
Defined in: core/src/errors/resolve.ts:86
Git ref that was not found
url¶
readonlyurl:string
Defined in: core/src/errors/resolve.ts:88
Git repository URL
Methods¶
format()¶
format():
string
Defined in: core/src/errors/base.ts:66
Format error for display.
Returns¶
string
Inherited from¶
toJSON()¶
toJSON():
Record\<string,unknown>
Defined in: core/src/errors/base.ts:79
Convert to JSON-serializable object.
Returns¶
Record\<string, unknown>