On 2012-08-07 12:06, Jonathan M Davis wrote:

It's easier to see where in the range of tokens the errors occur. A delegate
is disconnected from the point where the range is being consumed, whereas if
tokens are used for errors, then the function consuming the range can see
exactly where in the range of tokens the error is (and potentially handle it
differently based on that information).

Just pass the same token to the delegate that you would have returned otherwise?

--
/Jacob Carlborg

Reply via email to