{"action":"created","issue":{"url":"https://api.github.com/repos/storm-enroute/coroutines/issues/32","repository_url":"https://api.github.com/repos/storm-enroute/coroutines","labels_url":"https://api.github.com/repos/storm-enroute/coroutines/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/storm-enroute/coroutines/issues/32/comments","events_url":"https://api.github.com/repos/storm-enroute/coroutines/issues/32/events","html_url":"https://github.com/storm-enroute/coroutines/issues/32","id":169194051,"number":32,"title":"Exposing exceptions thrown by Coroutine.Instance","user":{"login":"smithjessk","id":5957838,"avatar_url":"https://avatars.githubusercontent.com/u/5957838?v=3","gravatar_id":"","url":"https://api.github.com/users/smithjessk","html_url":"https://github.com/smithjessk","followers_url":"https://api.github.com/users/smithjessk/followers","following_url":"https://api.github.com/users/smithjessk/following{/other_user}","gists_url":"https://api.github.com/users/smithjessk/gists{/gist_id}","starred_url":"https://api.github.com/users/smithjessk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smithjessk/subscriptions","organizations_url":"https://api.github.com/users/smithjessk/orgs","repos_url":"https://api.github.com/users/smithjessk/repos","events_url":"https://api.github.com/users/smithjessk/events{/privacy}","received_events_url":"https://api.github.com/users/smithjessk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-03T17:58:55Z","updated_at":"2016-08-13T07:33:01Z","closed_at":null,"body":"Commit: https://github.com/storm-enroute/coroutines/commit/be3a4d82919fdb84c11aecd0efbd1585bad33e11\r\n\r\nI think it would be useful to expose the exceptions that coroutines throw. For instance, inside [`Enumerator.next`](https://git.io/v6ID2), I could bubble up the exception thrown by the inner coroutine.\r\n\r\nI believe that the exceptions should be exposed via a method `Coroutine.Instance.tryException`. If `hasException`, this method would return `Some($exception)`. Otherwise, it would return `None`. This is in an attempt to be in-line with the other `try` methods."},"comment":{"url":"https://api.github.com/repos/storm-enroute/coroutines/issues/comments/239607834","html_url":"https://github.com/storm-enroute/coroutines/issues/32#issuecomment-239607834","issue_url":"https://api.github.com/repos/storm-enroute/coroutines/issues/32","id":239607834,"user":{"login":"axel22","id":151774,"avatar_url":"https://avatars.githubusercontent.com/u/151774?v=3","gravatar_id":"","url":"https://api.github.com/users/axel22","html_url":"https://github.com/axel22","followers_url":"https://api.github.com/users/axel22/followers","following_url":"https://api.github.com/users/axel22/following{/other_user}","gists_url":"https://api.github.com/users/axel22/gists{/gist_id}","starred_url":"https://api.github.com/users/axel22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axel22/subscriptions","organizations_url":"https://api.github.com/users/axel22/orgs","repos_url":"https://api.github.com/users/axel22/repos","events_url":"https://api.github.com/users/axel22/events{/privacy}","received_events_url":"https://api.github.com/users/axel22/received_events","type":"User","site_admin":false},"created_at":"2016-08-13T07:33:00Z","updated_at":"2016-08-13T07:33:00Z","body":"`tryException` sounds like a good idea, please go ahead!\r\n"}}
{"actor":{"display_login":"axel22"}}