[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) / JSPrismarineRangeError

# Abstract Class: JSPrismarineRangeError

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

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

## Extends

- `RangeError`

## Implements

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

## Constructors

### Constructor

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

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

#### Parameters

##### message?

`string`

#### Returns

`JSPrismarineRangeError`

#### Inherited from

`RangeError.constructor`

### Constructor

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

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

#### Parameters

##### message?

`string`

##### options?

`ErrorOptions`

#### Returns

`JSPrismarineRangeError`

#### Inherited from

`RangeError.constructor`

### Constructor

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

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

#### Parameters

##### message?

`string`

#### Returns

`JSPrismarineRangeError`

#### Inherited from

`RangeError.constructor`

### Constructor

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

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

#### Parameters

##### message?

`string`

##### options?

`ErrorOptions`

#### Returns

`JSPrismarineRangeError`

#### Inherited from

`RangeError.constructor`

## Properties

### code

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

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

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:59](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/errors/src/JSPrismarineError.ts#L59)

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:60](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/errors/src/JSPrismarineError.ts#L60)

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:62](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/errors/src/JSPrismarineError.ts#L62)

##### Returns

`true`
