Skip to content

API reference / @jsprismarine/errors / JSPrismarineError / JSPrismarineRangeError

Abstract Class: JSPrismarineRangeError ​

Defined in: packages/errors/src/JSPrismarineError.ts:57

The root of the catalog errors that extend RangeError.

Extends ​

  • RangeError

Implements ​

Constructors ​

Constructor ​

new JSPrismarineRangeError(message?): JSPrismarineRangeError

Defined in: node_modules/.pnpm/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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

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

Implementation of ​

CatalogedError.code


docs ​

abstract readonly docs: string

Defined in: packages/errors/src/JSPrismarineError.ts:59

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

Implementation of ​

CatalogedError.docs


params ​

abstract readonly params: Readonly<Record<string, unknown>>

Defined in: packages/errors/src/JSPrismarineError.ts:60

The placeholder values the message was built from.

Implementation of ​

CatalogedError.params

Accessors ​

[cataloged] ​

Get Signature ​

get [cataloged](): true

Defined in: packages/errors/src/JSPrismarineError.ts:62

Returns ​

true