{"action":"opened","issue":{"url":"https://api.github.com/repos/apifest/apifest/issues/22","labels_url":"https://api.github.com/repos/apifest/apifest/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/apifest/apifest/issues/22/comments","events_url":"https://api.github.com/repos/apifest/apifest/issues/22/events","html_url":"https://github.com/apifest/apifest/issues/22","id":54417832,"number":22,"title":"Use configured error responces when constructing internal error messages","user":{"login":"apostolterziev","id":6872958,"avatar_url":"https://avatars.githubusercontent.com/u/6872958?v=3","gravatar_id":"","url":"https://api.github.com/users/apostolterziev","html_url":"https://github.com/apostolterziev","followers_url":"https://api.github.com/users/apostolterziev/followers","following_url":"https://api.github.com/users/apostolterziev/following{/other_user}","gists_url":"https://api.github.com/users/apostolterziev/gists{/gist_id}","starred_url":"https://api.github.com/users/apostolterziev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apostolterziev/subscriptions","organizations_url":"https://api.github.com/users/apostolterziev/orgs","repos_url":"https://api.github.com/users/apostolterziev/repos","events_url":"https://api.github.com/users/apostolterziev/events{/privacy}","received_events_url":"https://api.github.com/users/apostolterziev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-15T06:43:18Z","updated_at":"2015-01-15T06:43:18Z","closed_at":null,"body":"Currently when there is an `<error>` tag inthe mapping file, the responces configured there are used only when a status code from the backend corresponds to the one in the mapping file.\r\n\r\nWhen an error condition ocurs in the mapping server itself, the preconfigured error responce should be used. This should be especially useful for 400, 401, 404."}}