# GitRefNotFoundError

[**PromptScript API**](https://getpromptscript.dev/api-reference/index.md)

***

# Class: GitRefNotFoundError

Defined in: [resolver/src/git-registry.ts:160](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/resolver/src/git-registry.ts#L160)

Git ref not found error.

## Extends

- `Error`

## Constructors

### Constructor

> **new GitRefNotFoundError**(`ref`, `url`): `GitRefNotFoundError`

Defined in: [resolver/src/git-registry.ts:161](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/resolver/src/git-registry.ts#L161)

#### Parameters

##### ref

`string`

##### url

`string`

#### Returns

`GitRefNotFoundError`

#### Overrides

`Error.constructor`

## Properties

### ref

> `readonly` **ref**: `string`

Defined in: [resolver/src/git-registry.ts:162](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/resolver/src/git-registry.ts#L162)

***

### url

> `readonly` **url**: `string`

Defined in: [resolver/src/git-registry.ts:163](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/resolver/src/git-registry.ts#L163)