Skip to content

API reference / @jsprismarine/errors / molang

molang ​

Classes ​

Variables ​

MolangErrors ​

const MolangErrors: Readonly<{ EmptyExpressionAtOffset: typeof EmptyExpressionAtOffset; ExpectedAtOffset: typeof ExpectedAtOffset; ExpectedFoundAtOffset: typeof ExpectedFoundAtOffset; ExpectedIdentifierAtOffset: typeof ExpectedIdentifierAtOffset; OnlyVariableAndTempCanBeAssigned: typeof OnlyVariableAndTempCanBeAssigned; UnexpectedCharacterAtOffset: typeof UnexpectedCharacterAtOffset; UnexpectedEndOfExpressionAtOffset: typeof UnexpectedEndOfExpressionAtOffset; UnexpectedKeywordAtOffset: typeof UnexpectedKeywordAtOffset; UnexpectedTokenAtOffset: typeof UnexpectedTokenAtOffset; UnknownScopeAtOffset: typeof UnknownScopeAtOffset; UnterminatedStringAtOffset: typeof UnterminatedStringAtOffset; }>

Defined in: packages/errors/src/molang.ts:371

The errors @jsprismarine/molang throws.