{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/autorest/issues/1604","repository_url":"https://api.github.com/repos/Azure/autorest","labels_url":"https://api.github.com/repos/Azure/autorest/issues/1604/labels{/name}","comments_url":"https://api.github.com/repos/Azure/autorest/issues/1604/comments","events_url":"https://api.github.com/repos/Azure/autorest/issues/1604/events","html_url":"https://github.com/Azure/autorest/issues/1604","id":189023562,"number":1604,"title":"Since 0.16.0 CSharp codegen no longer contains class ApiErrorException","user":{"login":"koolraap","id":9983153,"avatar_url":"https://avatars.githubusercontent.com/u/9983153?v=3","gravatar_id":"","url":"https://api.github.com/users/koolraap","html_url":"https://github.com/koolraap","followers_url":"https://api.github.com/users/koolraap/followers","following_url":"https://api.github.com/users/koolraap/following{/other_user}","gists_url":"https://api.github.com/users/koolraap/gists{/gist_id}","starred_url":"https://api.github.com/users/koolraap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koolraap/subscriptions","organizations_url":"https://api.github.com/users/koolraap/orgs","repos_url":"https://api.github.com/users/koolraap/repos","events_url":"https://api.github.com/users/koolraap/events{/privacy}","received_events_url":"https://api.github.com/users/koolraap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-14T03:52:34Z","updated_at":"2016-11-14T06:25:38Z","closed_at":null,"body":"Autorest 0.15 generated a combined file containing a class named `MyService.Data.Proxies.Models.ApiErrorException`. AutoRest 0.16 onwards does not do this.\r\n\r\nIs this expected? We use the `-outputfilename MyServiceProxy.cs` option if that matters. If it is expected where can we find ApiErrorException?\r\n\r\nThis code is from 0.15. Missing 0.16 onwards.\r\n\r\n\tnamespace MyService.Data.Proxies.Models\r\n\t{\r\n\t\tusing Microsoft.Rest;\r\n\t\tusing System;\r\n\t\tusing System.Net.Http;\r\n\t\tusing System.Runtime.Serialization;\r\n\t#if !PORTABLE && !DNXCORE50\r\n\t\tusing System.Security.Permissions;\r\n\t#endif\r\n\r\n\t\t/// <summary>\r\n\t\t/// Exception thrown for an invalid response with ApiError information.\r\n\t\t/// </summary>\r\n\t#if !PORTABLE && !DNXCORE50\r\n\t\t[Serializable]\r\n\t#endif\r\n\t\tpublic class ApiErrorException : RestException\r\n\t\t{\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Azure/autorest/issues/comments/260257802","html_url":"https://github.com/Azure/autorest/issues/1604#issuecomment-260257802","issue_url":"https://api.github.com/repos/Azure/autorest/issues/1604","id":260257802,"user":{"login":"koolraap","id":9983153,"avatar_url":"https://avatars.githubusercontent.com/u/9983153?v=3","gravatar_id":"","url":"https://api.github.com/users/koolraap","html_url":"https://github.com/koolraap","followers_url":"https://api.github.com/users/koolraap/followers","following_url":"https://api.github.com/users/koolraap/following{/other_user}","gists_url":"https://api.github.com/users/koolraap/gists{/gist_id}","starred_url":"https://api.github.com/users/koolraap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koolraap/subscriptions","organizations_url":"https://api.github.com/users/koolraap/orgs","repos_url":"https://api.github.com/users/koolraap/repos","events_url":"https://api.github.com/users/koolraap/events{/privacy}","received_events_url":"https://api.github.com/users/koolraap/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T06:25:38Z","updated_at":"2016-11-14T06:25:38Z","body":"You know what? I think I may have a beta version or something of 0.15 on my PC. Other people in the team are using 0.15 to generate code that doesn't contain ApiErrorException.\r\n\r\nIf only #1603 was raised earlier :-)"}}
{"actor":{"display_login":"koolraap"}}