MessageSyntaxError class
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Errors in the message syntax.
Signature:
export declare class MessageSyntaxError extends MessageError
Extends: MessageError
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(type, start, end, expected) | (BETA) Constructs a new instance of the MessageSyntaxError class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
end | number | (BETA) | |
start | number | (BETA) | |
type | ‘empty-token’ | ‘bad-escape’ | ‘bad-input-expression’ | ‘bad-selector’ | ‘duplicate-declaration’ | ‘duplicate-option’ | ‘extra-content’ | ‘key-mismatch’ | ‘parse-error’ | ‘missing-fallback’ | ‘missing-selector-annotation’ | ‘missing-syntax’ | (BETA) |