{"action":"closed","issue":{"url":"https://api.github.com/repos/Azure/autorest/issues/669","repository_url":"https://api.github.com/repos/Azure/autorest","labels_url":"https://api.github.com/repos/Azure/autorest/issues/669/labels{/name}","comments_url":"https://api.github.com/repos/Azure/autorest/issues/669/comments","events_url":"https://api.github.com/repos/Azure/autorest/issues/669/events","html_url":"https://github.com/Azure/autorest/issues/669","id":130476515,"number":669,"title":"Adding exception type to generated SDK code","user":{"login":"kuangweizhang","id":3433095,"avatar_url":"https://avatars.githubusercontent.com/u/3433095?v=3","gravatar_id":"","url":"https://api.github.com/users/kuangweizhang","html_url":"https://github.com/kuangweizhang","followers_url":"https://api.github.com/users/kuangweizhang/followers","following_url":"https://api.github.com/users/kuangweizhang/following{/other_user}","gists_url":"https://api.github.com/users/kuangweizhang/gists{/gist_id}","starred_url":"https://api.github.com/users/kuangweizhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuangweizhang/subscriptions","organizations_url":"https://api.github.com/users/kuangweizhang/orgs","repos_url":"https://api.github.com/users/kuangweizhang/repos","events_url":"https://api.github.com/users/kuangweizhang/events{/privacy}","received_events_url":"https://api.github.com/users/kuangweizhang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Azure/autorest/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"John-Hart","id":17861711,"avatar_url":"https://avatars.githubusercontent.com/u/17861711?v=3","gravatar_id":"","url":"https://api.github.com/users/John-Hart","html_url":"https://github.com/John-Hart","followers_url":"https://api.github.com/users/John-Hart/followers","following_url":"https://api.github.com/users/John-Hart/following{/other_user}","gists_url":"https://api.github.com/users/John-Hart/gists{/gist_id}","starred_url":"https://api.github.com/users/John-Hart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/John-Hart/subscriptions","organizations_url":"https://api.github.com/users/John-Hart/orgs","repos_url":"https://api.github.com/users/John-Hart/repos","events_url":"https://api.github.com/users/John-Hart/events{/privacy}","received_events_url":"https://api.github.com/users/John-Hart/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Azure/autorest/milestones/6","html_url":"https://github.com/Azure/autorest/milestones/0.17.0","labels_url":"https://api.github.com/repos/Azure/autorest/milestones/6/labels","id":1644445,"number":6,"title":"0.17.0","description":"","creator":{"login":"devigned","id":386473,"avatar_url":"https://avatars.githubusercontent.com/u/386473?v=3","gravatar_id":"","url":"https://api.github.com/users/devigned","html_url":"https://github.com/devigned","followers_url":"https://api.github.com/users/devigned/followers","following_url":"https://api.github.com/users/devigned/following{/other_user}","gists_url":"https://api.github.com/users/devigned/gists{/gist_id}","starred_url":"https://api.github.com/users/devigned/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devigned/subscriptions","organizations_url":"https://api.github.com/users/devigned/orgs","repos_url":"https://api.github.com/users/devigned/repos","events_url":"https://api.github.com/users/devigned/events{/privacy}","received_events_url":"https://api.github.com/users/devigned/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":3,"state":"open","created_at":"2016-03-14T23:08:04Z","updated_at":"2016-06-06T19:44:25Z","due_on":"2016-06-15T07:00:00Z","closed_at":null},"comments":1,"created_at":"2016-02-01T20:40:00Z","updated_at":"2016-06-06T19:44:25Z","closed_at":"2016-06-06T19:44:25Z","body":"When user is using generated SDK, C# on Get request for example, user cannot find what kind of exception will be thrown if the resource cannot be found by the comments in the C# source code. The only possible way is to either read the source code a lot further or try it out to see what exception will be thrown. This is not a good experience.\r\nI hope we can provide type of exception in the generated code comment. Similar idea with Exception section in this page: https://msdn.microsoft.com/en-us/library/z6c2z492(v=vs.110).aspx\r\n<!---@tfsbridge:{\"tfsId\":5691507}-->"}}
{"actor":{"display_login":"fearthecowboy"}}