Right now the lexer doesn't communicate errors at all. I believe it should leave an error token. The traveler #12 would then intercept this token to report on the error.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by remilia-dev and has received 1 comments.