Skip to content

API reference / @jsprismarine/errors / JSPrismarineError / JSPrismarineReferenceError

Abstract Class: JSPrismarineReferenceError ​

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

The root of the catalog errors that extend ReferenceError.

Extends ​

  • ReferenceError

Implements ​

Constructors ​

Constructor ​

new JSPrismarineReferenceError(message?): JSPrismarineReferenceError

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

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:70

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:71

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:73

Returns ​

true