{"action":"created","issue":{"url":"https://api.github.com/repos/twilio/twilio-node/issues/109","labels_url":"https://api.github.com/repos/twilio/twilio-node/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/twilio/twilio-node/issues/109/comments","events_url":"https://api.github.com/repos/twilio/twilio-node/issues/109/events","html_url":"https://github.com/twilio/twilio-node/issues/109","id":97626442,"number":109,"title":"Document error object","user":{"login":"kevinburkeshyp","id":10735057,"avatar_url":"https://avatars.githubusercontent.com/u/10735057?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinburkeshyp","html_url":"https://github.com/kevinburkeshyp","followers_url":"https://api.github.com/users/kevinburkeshyp/followers","following_url":"https://api.github.com/users/kevinburkeshyp/following{/other_user}","gists_url":"https://api.github.com/users/kevinburkeshyp/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinburkeshyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinburkeshyp/subscriptions","organizations_url":"https://api.github.com/users/kevinburkeshyp/orgs","repos_url":"https://api.github.com/users/kevinburkeshyp/repos","events_url":"https://api.github.com/users/kevinburkeshyp/events{/privacy}","received_events_url":"https://api.github.com/users/kevinburkeshyp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-28T06:24:31Z","updated_at":"2015-07-28T18:50:47Z","closed_at":null,"body":"- What properties exist on the error object for normal 400-level exceptions?\r\n\r\n- Say you get an unexpected error - server error, timeout, couldn't parse JSON, connection reset - what properties exist on the error object in that case? \r\n\r\nhow can I distinguish the two?"},"comment":{"url":"https://api.github.com/repos/twilio/twilio-node/issues/comments/125714353","html_url":"https://github.com/twilio/twilio-node/issues/109#issuecomment-125714353","issue_url":"https://api.github.com/repos/twilio/twilio-node/issues/109","id":125714353,"user":{"login":"kwhinnery","id":29193,"avatar_url":"https://avatars.githubusercontent.com/u/29193?v=3","gravatar_id":"","url":"https://api.github.com/users/kwhinnery","html_url":"https://github.com/kwhinnery","followers_url":"https://api.github.com/users/kwhinnery/followers","following_url":"https://api.github.com/users/kwhinnery/following{/other_user}","gists_url":"https://api.github.com/users/kwhinnery/gists{/gist_id}","starred_url":"https://api.github.com/users/kwhinnery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwhinnery/subscriptions","organizations_url":"https://api.github.com/users/kwhinnery/orgs","repos_url":"https://api.github.com/users/kwhinnery/repos","events_url":"https://api.github.com/users/kwhinnery/events{/privacy}","received_events_url":"https://api.github.com/users/kwhinnery/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T18:50:47Z","updated_at":"2015-07-28T18:50:47Z","body":"If Twilio sends a 4xx response, the body of the response is the `err` object. But your underlying request to document the behavior and contents of the error object is valid feedback."}}