-
I'd like to use parsley to create custom error messages in the case where runParser returns Failure(..). From what I can see it's currently not possible to retrieve error line, column, expected and unexpected strings and so on without modifying parsley.internal.instructions.Context. Would I be correct in saying this? If so, are there any plans to implement this into Parsley in future? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
j-mie6
Feb 11, 2021
Replies: 1 comment 6 replies
-
Yes, Parsley 3 will return the |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
MustafaI
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, Parsley 3 will return the
ParseError
datatype instead of a string, along with a pretty printing typeclass