{"action":"opened","issue":{"url":"https://api.github.com/repos/itod/pegkit/issues/32","labels_url":"https://api.github.com/repos/itod/pegkit/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/itod/pegkit/issues/32/comments","events_url":"https://api.github.com/repos/itod/pegkit/issues/32/events","html_url":"https://github.com/itod/pegkit/issues/32","id":92104073,"number":32,"title":"Error reporting request","user":{"login":"drekka","id":153837,"avatar_url":"https://avatars.githubusercontent.com/u/153837?v=3","gravatar_id":"","url":"https://api.github.com/users/drekka","html_url":"https://github.com/drekka","followers_url":"https://api.github.com/users/drekka/followers","following_url":"https://api.github.com/users/drekka/following{/other_user}","gists_url":"https://api.github.com/users/drekka/gists{/gist_id}","starred_url":"https://api.github.com/users/drekka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drekka/subscriptions","organizations_url":"https://api.github.com/users/drekka/orgs","repos_url":"https://api.github.com/users/drekka/repos","events_url":"https://api.github.com/users/drekka/events{/privacy}","received_events_url":"https://api.github.com/users/drekka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-30T14:07:36Z","updated_at":"2015-06-30T14:07:36Z","closed_at":null,"body":"Hi. I'm parsing a simple string that looks like this:\r\n\r\n`[Abc]`\r\n\r\nThis is not valid in my app so I'm raising an error by using the `[parser raise:@\"...\"];` statement. \r\n\r\nAt the moment I get an error which when dumped to the logs, looks like this:\r\n\r\n```\r\nError Domain=PEGKitErrorDomain Code=1 \"Failed to match next input token\" UserInfo=0x7f9a7b710710 {NSLocalizedDescription=Failed to match next input token, range=NSRange: {9223372036854775807, 5}, lineNumber=Unknown, NSLocalizedFailureReason=Unable to find any runtime object called Abc\r\nLine : Unknown\r\n}\r\n```  \r\n\r\nI'd like to have the peg kit actually put my error message as the description. I'm also not sure what the range is meant to represent as any time I see an error, it always seems to be x,5. With neither the 5 or the 5 having anything to do with the location of error as far as I can tell. \r\n\r\nCan this be improved?\r\n\r\n"}}