{"action":"closed","issue":{"url":"https://api.github.com/repos/x2f/xan-error/issues/4","labels_url":"https://api.github.com/repos/x2f/xan-error/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/x2f/xan-error/issues/4/comments","events_url":"https://api.github.com/repos/x2f/xan-error/issues/4/events","html_url":"https://github.com/x2f/xan-error/issues/4","id":53224902,"number":4,"title":"Replace SET macro","user":{"login":"x2f","id":10355421,"avatar_url":"https://avatars.githubusercontent.com/u/10355421?v=3","gravatar_id":"","url":"https://api.github.com/users/x2f","html_url":"https://github.com/x2f","followers_url":"https://api.github.com/users/x2f/followers","following_url":"https://api.github.com/users/x2f/following{/other_user}","gists_url":"https://api.github.com/users/x2f/gists{/gist_id}","starred_url":"https://api.github.com/users/x2f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/x2f/subscriptions","organizations_url":"https://api.github.com/users/x2f/orgs","repos_url":"https://api.github.com/users/x2f/repos","events_url":"https://api.github.com/users/x2f/events{/privacy}","received_events_url":"https://api.github.com/users/x2f/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/x2f/xan-error/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"x2f","id":10355421,"avatar_url":"https://avatars.githubusercontent.com/u/10355421?v=3","gravatar_id":"","url":"https://api.github.com/users/x2f","html_url":"https://github.com/x2f","followers_url":"https://api.github.com/users/x2f/followers","following_url":"https://api.github.com/users/x2f/following{/other_user}","gists_url":"https://api.github.com/users/x2f/gists{/gist_id}","starred_url":"https://api.github.com/users/x2f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/x2f/subscriptions","organizations_url":"https://api.github.com/users/x2f/orgs","repos_url":"https://api.github.com/users/x2f/repos","events_url":"https://api.github.com/users/x2f/events{/privacy}","received_events_url":"https://api.github.com/users/x2f/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/x2f/xan-error/milestones/1","labels_url":"https://api.github.com/repos/x2f/xan-error/milestones/1/labels","id":919175,"number":1,"title":"v0.2","description":"Includes a bunch of enhancements towards a stable version.","creator":{"login":"x2f","id":10355421,"avatar_url":"https://avatars.githubusercontent.com/u/10355421?v=3","gravatar_id":"","url":"https://api.github.com/users/x2f","html_url":"https://github.com/x2f","followers_url":"https://api.github.com/users/x2f/followers","following_url":"https://api.github.com/users/x2f/following{/other_user}","gists_url":"https://api.github.com/users/x2f/gists{/gist_id}","starred_url":"https://api.github.com/users/x2f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/x2f/subscriptions","organizations_url":"https://api.github.com/users/x2f/orgs","repos_url":"https://api.github.com/users/x2f/repos","events_url":"https://api.github.com/users/x2f/events{/privacy}","received_events_url":"https://api.github.com/users/x2f/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":5,"state":"open","created_at":"2015-01-01T18:18:21Z","updated_at":"2015-01-09T03:57:03Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-01-01T18:01:34Z","updated_at":"2015-01-09T03:57:02Z","closed_at":"2015-01-09T03:57:02Z","body":"Should always use setError(). Can define 2 versions of setError():\r\n- current setError(format, ...)\r\n- new setError(const char*,int,format, ...) \r\n\r\nAnd add XAN_LOC as `__FILE__,__LINE__`\r\n\r\nSo calling setError(XAN_LOC,\"blabla %d\", i) will set the location while setError(\"bla %d\",i) will not."}}