[API reference](https://jsprismarine.dev/api/index.md) / [@jsprismarine/errors](https://jsprismarine.dev/api/@jsprismarine/errors/index.md) / [JSPrismarineError](https://jsprismarine.dev/api/@jsprismarine/errors/JSPrismarineError/index.md) / JSPrismarineReferenceError

# Abstract Class: JSPrismarineReferenceError

Defined in: [packages/errors/src/JSPrismarineError.ts:68](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/errors/src/JSPrismarineError.ts#L68)

The root of the catalog errors that extend `ReferenceError`.

## Extends

- `ReferenceError`

## Implements

- [`CatalogedError`](https://jsprismarine.dev/api/@jsprismarine/errors/JSPrismarineError/index.md#catalogederror)

## Constructors

### Constructor

> **new JSPrismarineReferenceError**(`message?`): `JSPrismarineReferenceError`

Defined in: node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.es5.d.ts:1113

#### Parameters

##### message?

`string`

#### Returns

`JSPrismarineReferenceError`

#### Inherited from

`ReferenceError.constructor`

### Constructor

> **new JSPrismarineReferenceError**(`message?`, `options?`): `JSPrismarineReferenceError`

Defined in: node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.es5.d.ts:1113

#### Parameters

##### message?

`string`

##### options?

`ErrorOptions`

#### Returns

`JSPrismarineReferenceError`

#### Inherited from

`ReferenceError.constructor`

### Constructor

> **new JSPrismarineReferenceError**(`message?`): `JSPrismarineReferenceError`

Defined in: node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.es5.d.ts:1113

#### Parameters

##### message?

`string`

#### Returns

`JSPrismarineReferenceError`

#### Inherited from

`ReferenceError.constructor`

### Constructor

> **new JSPrismarineReferenceError**(`message?`, `options?`): `JSPrismarineReferenceError`

Defined in: node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.es5.d.ts:1113

#### Parameters

##### message?

`string`

##### options?

`ErrorOptions`

#### Returns

`JSPrismarineReferenceError`

#### Inherited from

`ReferenceError.constructor`

## Properties

### code

> `abstract` `readonly` **code**: `string`

Defined in: [packages/errors/src/JSPrismarineError.ts:69](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/errors/src/JSPrismarineError.ts#L69)

The catalog code, such as `LEVELDB_DATABASE_LOCKED`. It never changes between releases.

#### Implementation of

[`CatalogedError`](https://jsprismarine.dev/api/@jsprismarine/errors/JSPrismarineError/index.md#catalogederror).[`code`](https://jsprismarine.dev/api/@jsprismarine/errors/JSPrismarineError/index.md#code)

***

### docs

> `abstract` `readonly` **docs**: `string`

Defined in: [packages/errors/src/JSPrismarineError.ts:70](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/errors/src/JSPrismarineError.ts#L70)

The address of this error's entry in the error reference.

#### Implementation of

[`CatalogedError`](https://jsprismarine.dev/api/@jsprismarine/errors/JSPrismarineError/index.md#catalogederror).[`docs`](https://jsprismarine.dev/api/@jsprismarine/errors/JSPrismarineError/index.md#docs)

***

### params

> `abstract` `readonly` **params**: `Readonly`\<`Record`\<`string`, `unknown`\>\>

Defined in: [packages/errors/src/JSPrismarineError.ts:71](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/errors/src/JSPrismarineError.ts#L71)

The placeholder values the message was built from.

#### Implementation of

[`CatalogedError`](https://jsprismarine.dev/api/@jsprismarine/errors/JSPrismarineError/index.md#catalogederror).[`params`](https://jsprismarine.dev/api/@jsprismarine/errors/JSPrismarineError/index.md#params)

## Accessors

### \[cataloged\]

#### Get Signature

> **get** **\[cataloged\]**(): `true`

Defined in: [packages/errors/src/JSPrismarineError.ts:73](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/errors/src/JSPrismarineError.ts#L73)

##### Returns

`true`
