MessageSyntaxError.(constructor)
Constructs a new instance of the MessageSyntaxError
class
Signature:
constructor(type: typeof MessageSyntaxError.prototype.type, start: number, end: number, char?: string);
Parameters
Parameter | Type | Description |
---|---|---|
type | typeof MessageSyntaxError.prototype.type | |
start | number | |
end | number | |
char | string | (Optional) |