Skip to content

API reference / @jsprismarine/prismarine / UnmappedIdentifierError

Class: UnmappedIdentifierError ​

Defined in: prismarine/src/content/unmappedIdentifiers.ts:24

Thrown by a strict content build when the pack stack references a Java identifier nothing accounts for.

The identifiers are the whole finding, not a sample: a build that stops for one of them should say which ones, so the report and the exception carry the same list.

Extends ​

Constructors ​

Constructor ​

new UnmappedIdentifierError(unmapped): UnmappedIdentifierError

Defined in: prismarine/src/content/unmappedIdentifiers.ts:30

Parameters ​

unmapped ​

readonly ReferencedIdentifier[]

Every reference that resolved to neither a Bedrock identifier nor a reviewed loss.

Returns ​

UnmappedIdentifierError

Overrides ​

Error.constructor

Properties ​

name ​

name: string = 'UnmappedIdentifierError'

Defined in: prismarine/src/content/unmappedIdentifiers.ts:25

Overrides ​

Error.name


unmapped ​

readonly unmapped: readonly ReferencedIdentifier[]

Defined in: prismarine/src/content/unmappedIdentifiers.ts:30

Every reference that resolved to neither a Bedrock identifier nor a reviewed loss.