-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve error messages color and format (#132)
* refactor(core): improve lexer error message * fix(ignored): trim ingored lines * refactor(core): improve parser error with colors and new error message format * refactor(core): improve slangroom error message with new colors and format * test(core): update error tests to new colors and format * fix(fs): catch more error and report them thhrough plugin context fail method * test(fs): update failing tests * test(core): reactivate error tests * test: update error messages on failing tests * refacotr(core): use colored text instead of colored backgorund on parser errors Remove also quotation marks around worng and suggested words * refacotr(core): use colored text instead of colored backgorund on lexer errors * test: update failing tests error message checks * feat(core): improve a bit the parser In case a statment start with 'open' or 'connect' then it will be only parsed against, respectively, open or connect slangroom statements. * refactor(core): imrpove parse error reporintg when multiple tokens are suggested as solution * fix(pocketbase): catch error when listing and return it through context fail method
- Loading branch information
1 parent
5947902
commit f25a04b
Showing
18 changed files
with
337 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.