API reference / @jsprismarine/loot / LootGrammarError
Class: LootGrammarError
Defined in: loot/src/table.ts:135
Thrown by a strict parse, naming every error the table reported.
See
Extends
Constructors
Constructor
new LootGrammarError(
diagnostics):LootGrammarError
Defined in: loot/src/table.ts:139
Parameters
diagnostics
readonly Diagnostic[]
Returns
LootGrammarError
Overrides
Error.constructor
Properties
diagnostics
readonlydiagnostics: readonlyDiagnostic[]
Defined in: loot/src/table.ts:137
The errors that stopped the parse, in the order they were reported.