Skip to content

API reference / @jsprismarine/script-host / errors / NotImplementedError

Class: NotImplementedError ​

Defined in: script-host/src/errors.ts:32

A script used a Script API member that the pinned BDS has and JSPrismarine does not implement yet. It reaches the script as an Error named NotImplementedError.

Extends ​

  • NotImplemented

Implements ​

Constructors ​

Constructor ​

new NotImplementedError(name, access?): NotImplementedError

Defined in: script-host/src/errors.ts:42

Parameters ​

name ​

ScriptApiMemberName

The member.

access? ​

"set"

set for a property's setter, which is implemented apart from its getter.

Returns ​

NotImplementedError

Overrides ​

ScriptHostErrors.NotImplemented.constructor

Properties ​

code ​

readonly code: "SCRIPT_HOST_NOT_IMPLEMENTED" = 'SCRIPT_HOST_NOT_IMPLEMENTED'

Defined in: errors/src/script-host.ts:518

Inherited from ​

ScriptHostErrors.NotImplemented.code


docs ​

readonly docs: "https://jsprismarine.dev/errors/script-host#script-host-not-implemented" = 'https://jsprismarine.dev/errors/script-host#script-host-not-implemented'

Defined in: errors/src/script-host.ts:519

Inherited from ​

ScriptHostErrors.NotImplemented.docs


member ​

readonly member: string

Defined in: script-host/src/errors.ts:36

Implementation of ​

ScriptApiMemberName.member


module ​

readonly module: string

Defined in: script-host/src/errors.ts:34

Implementation of ​

ScriptApiMemberName.module


name ​

readonly name: "NotImplementedError" = 'NotImplementedError'

Defined in: script-host/src/errors.ts:33

Overrides ​

ScriptHostErrors.NotImplemented.name


owner ​

readonly owner: string

Defined in: script-host/src/errors.ts:35

The class or error; empty for a module-level function.

Implementation of ​

ScriptApiMemberName.owner

Accessors ​

[cataloged] ​

Get Signature ​

get [cataloged](): true

Defined in: errors/src/JSPrismarineError.ts:40

Returns ​

true

Inherited from ​

ScriptHostErrors.NotImplemented.[cataloged]


params ​

Get Signature ​

get params(): object & Readonly<Record<string, unknown>>

Defined in: errors/src/script-host.ts:528

The placeholder values the message was built from.

Returns ​

object & Readonly<Record<string, unknown>>

Inherited from ​

ScriptHostErrors.NotImplemented.params


code ​

Get Signature ​

get static code(): "SCRIPT_HOST_NOT_IMPLEMENTED"

Defined in: errors/src/script-host.ts:505

Returns ​

"SCRIPT_HOST_NOT_IMPLEMENTED"

Inherited from ​

ScriptHostErrors.NotImplemented.code


docs ​

Get Signature ​

get static docs(): "https://jsprismarine.dev/errors/script-host#script-host-not-implemented"

Defined in: errors/src/script-host.ts:514

Returns ​

"https://jsprismarine.dev/errors/script-host#script-host-not-implemented"

Inherited from ​

ScriptHostErrors.NotImplemented.docs


domain ​

Get Signature ​

get static domain(): "script-host"

Defined in: errors/src/script-host.ts:508

Returns ​

"script-host"

Inherited from ​

ScriptHostErrors.NotImplemented.domain


template ​

Get Signature ​

get static template(): "{member} from {module} is not implemented"

Defined in: errors/src/script-host.ts:511

Returns ​

"{member} from {module} is not implemented"

Inherited from ​

ScriptHostErrors.NotImplemented.template