{"action":"closed","issue":{"url":"https://api.github.com/repos/open-xml-templating/docxtemplater/issues/178","labels_url":"https://api.github.com/repos/open-xml-templating/docxtemplater/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/open-xml-templating/docxtemplater/issues/178/comments","events_url":"https://api.github.com/repos/open-xml-templating/docxtemplater/issues/178/events","html_url":"https://github.com/open-xml-templating/docxtemplater/issues/178","id":114461706,"number":178,"title":"Better errors","user":{"login":"edi9999","id":2071336,"avatar_url":"https://avatars.githubusercontent.com/u/2071336?v=3","gravatar_id":"","url":"https://api.github.com/users/edi9999","html_url":"https://github.com/edi9999","followers_url":"https://api.github.com/users/edi9999/followers","following_url":"https://api.github.com/users/edi9999/following{/other_user}","gists_url":"https://api.github.com/users/edi9999/gists{/gist_id}","starred_url":"https://api.github.com/users/edi9999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edi9999/subscriptions","organizations_url":"https://api.github.com/users/edi9999/orgs","repos_url":"https://api.github.com/users/edi9999/repos","events_url":"https://api.github.com/users/edi9999/events{/privacy}","received_events_url":"https://api.github.com/users/edi9999/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/open-xml-templating/docxtemplater/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-01T09:57:26Z","updated_at":"2015-12-02T19:27:08Z","closed_at":"2015-12-02T19:27:08Z","body":"The Errors should have : \r\n\r\n * a `code`, for example `RAW_XML_SHOULD_BE_ONLY_TEXT_IN_PARAGRAPH`\r\n * a `description`, that could be shown to an end user (but is written in english) for example `The rawXml tag \"{@text}\" should be the only text in a paragraph : the paragraph contains : \"{@text} {date}`\r\n * a `properties`, which gives structured information about the error, for example : {expected:\"{@text}\", actual:\"{@text} {date}\"'}"}}