-
-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance Fail parser with a custom error message (#244)
It's useful to have a way how to specify a custom error message for the `Fail` parser; the current workaround is to throw an exception instead of using the `Fail` parser. The implementation is backwards-compatible, the original `Fail` signature doesn't change and it works the same way as before. **Issue**: closes #243 --------- Co-authored-by: Li Haoyi <haoyi.sg@gmail.com>
- Loading branch information
Showing
4 changed files
with
16 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,10 @@ target/ | |
out/ | ||
.DS_STORE | ||
*.iml | ||
.idea/ | ||
.idea | ||
.coursier | ||
.bloop/ | ||
.metals/ | ||
project/metals.sbt | ||
.vscode/ | ||
.bsp/ |
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