You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Thanks a lot for the amazing library, it's working really well for me :) But I have a question though - if I wanted to return an enum class with different types of syntax errors from the parser, what is the best way to achieve that? Right now I can only think of parsing the strings I receive in the logger callback to infer the type from them, but it feels very hacky to me :)
So is there any chance you could suggest a better approach?
Thank you!
The text was updated successfully, but these errors were encountered:
Hi! Thanks a lot for the amazing library, it's working really well for me :) But I have a question though - if I wanted to return an
enum class
with different types of syntax errors from the parser, what is the best way to achieve that? Right now I can only think of parsing the strings I receive in the logger callback to infer the type from them, but it feels very hacky to me :)So is there any chance you could suggest a better approach?
Thank you!
The text was updated successfully, but these errors were encountered: