HTError.unexpectedToken constructor
HTError.unexpectedToken(})
Error: Expected a token while met another.
Implementation
HTError.unexpectedToken(String expected, String met,
{String? extra,
String? correction,
String? filename,
int? line,
int? column,
int? offset,
int? length})
: this(ErrorCode.unexpected, ErrorType.syntacticError,
message: HTLocale.current.errorUnexpectedToken,
interpolations: [expected, met],
extra: extra,
correction: correction,
filename: filename,
line: line,
column: column,
offset: offset,
length: length);