{"action":"created","issue":{"url":"https://api.github.com/repos/withoutboats/failure/issues/59","repository_url":"https://api.github.com/repos/withoutboats/failure","labels_url":"https://api.github.com/repos/withoutboats/failure/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/withoutboats/failure/issues/59/comments","events_url":"https://api.github.com/repos/withoutboats/failure/issues/59/events","html_url":"https://github.com/withoutboats/failure/issues/59","id":275085815,"number":59,"title":"impl Fail for NoneError?","user":{"login":"Celti","id":4999146,"avatar_url":"https://avatars1.githubusercontent.com/u/4999146?v=4","gravatar_id":"","url":"https://api.github.com/users/Celti","html_url":"https://github.com/Celti","followers_url":"https://api.github.com/users/Celti/followers","following_url":"https://api.github.com/users/Celti/following{/other_user}","gists_url":"https://api.github.com/users/Celti/gists{/gist_id}","starred_url":"https://api.github.com/users/Celti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Celti/subscriptions","organizations_url":"https://api.github.com/users/Celti/orgs","repos_url":"https://api.github.com/users/Celti/repos","events_url":"https://api.github.com/users/Celti/events{/privacy}","received_events_url":"https://api.github.com/users/Celti/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-18T15:13:59Z","updated_at":"2017-11-28T12:45:52Z","closed_at":"2017-11-18T15:19:36Z","author_association":"NONE","body":"Using the currently (but probably not for very much longer) unstable `Try` trait, one can use the question mark operator on `Option<T>` types, coercing them into a `Result<T, NoneError>`. Unfortunately, `NoneError` does *not* impl `std::error::Error`, meaning the `Fail` is not implemented for `NoneError` (and it being an external type, we can't implement it in our own crates).\r\n\r\nI think this would be particularly useful in light of the pattern described in “[Using the `Error` type](https://boats.gitlab.io/failure/use-error.html)” — throwing a `NoneError` fits right into the kind of rapid prototyping, \"just show the user the error and exit\" limited error handling that that exemplifies.\r\n\r\nWould a PR with this change go amiss?"},"comment":{"url":"https://api.github.com/repos/withoutboats/failure/issues/comments/347512719","html_url":"https://github.com/withoutboats/failure/issues/59#issuecomment-347512719","issue_url":"https://api.github.com/repos/withoutboats/failure/issues/59","id":347512719,"user":{"login":"vitvakatu","id":6566674,"avatar_url":"https://avatars3.githubusercontent.com/u/6566674?v=4","gravatar_id":"","url":"https://api.github.com/users/vitvakatu","html_url":"https://github.com/vitvakatu","followers_url":"https://api.github.com/users/vitvakatu/followers","following_url":"https://api.github.com/users/vitvakatu/following{/other_user}","gists_url":"https://api.github.com/users/vitvakatu/gists{/gist_id}","starred_url":"https://api.github.com/users/vitvakatu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitvakatu/subscriptions","organizations_url":"https://api.github.com/users/vitvakatu/orgs","repos_url":"https://api.github.com/users/vitvakatu/repos","events_url":"https://api.github.com/users/vitvakatu/events{/privacy}","received_events_url":"https://api.github.com/users/vitvakatu/received_events","type":"User","site_admin":false},"created_at":"2017-11-28T12:45:52Z","updated_at":"2017-11-28T12:45:52Z","author_association":"NONE","body":"Yep, I'm voting for re-opening"}}
{"actor":{"display_login":"vitvakatu"}}