Closed iisfaq closed 2 years ago
I was going to create a pull request but I don't think I have the rights to do that. I have not done this before.
Chris
Hello @iisfaq thanks for the issue. Yes of course you can submit pull request. I just need to accept it to integrate your code in the main repo. (you need to fork the repo first to do you modifications and create a pull request from your repo.)
But for this issue I think I will implement a more generic solution to throw better exceptions in general with the use of ExceptionDispatchInfo
as suggested by @jl0pd in #124.
I was just testing your cool parser and came across the following
This returns Exception has been thrown by the target of an invocation. - not a very friendly message.
I tracked it down to the following line
I changed the code to this
This results in something like this
Invalid index specified '35' for 'Chris'