Skip to content

PromptScript API


Class: GitAuthError

Defined in: core/src/errors/resolve.ts:70

Git authentication failed.

Extends

Constructors

Constructor

new GitAuthError(message, url, location?): GitAuthError

Defined in: core/src/errors/resolve.ts:74

Parameters

message

string

url

string

location?

SourceLocation

Returns

GitAuthError

Overrides

ResolveError.constructor

Properties

cause?

readonly optional cause: Error

Defined in: core/src/errors/base.ts:43

Original error if wrapping another error

Inherited from

ResolveError.cause


code

readonly code: string

Defined in: core/src/errors/base.ts:39

Error code

Inherited from

ResolveError.code


location?

readonly optional location: SourceLocation

Defined in: core/src/errors/base.ts:41

Source location where error occurred

Inherited from

ResolveError.location


url

readonly url: string

Defined in: core/src/errors/resolve.ts:72

Git repository URL

Methods

format()

format(): string

Defined in: core/src/errors/base.ts:66

Format error for display.

Returns

string

Inherited from

ResolveError.format


toJSON()

toJSON(): Record\<string, unknown>

Defined in: core/src/errors/base.ts:79

Convert to JSON-serializable object.

Returns

Record\<string, unknown>

Inherited from

ResolveError.toJSON