Skip to content

API reference / @jsprismarine/prismarine / NotWiredError

Class: NotWiredError ​

Defined in: prismarine/src/content/world/notWired.ts:25

Thrown by a world adapter member whose owning subsystem has not supplied it yet.

Extends ​

Constructors ​

Constructor ​

new NotWiredError(member, area): NotWiredError

Defined in: prismarine/src/content/world/notWired.ts:32

Parameters ​

member ​

string

The adapter member that was called, such as blocks.get.

area ​

ContentArea

Which subsystem owns the missing implementation.

Returns ​

NotWiredError

Overrides ​

Error.constructor

Properties ​

area ​

readonly area: ContentArea

Defined in: prismarine/src/content/world/notWired.ts:34

Which subsystem owns the missing implementation.


member ​

readonly member: string

Defined in: prismarine/src/content/world/notWired.ts:33

The adapter member that was called, such as blocks.get.


name ​

name: string = 'NotWiredError'

Defined in: prismarine/src/content/world/notWired.ts:26

Overrides ​

Error.name