{"action":"created","issue":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/625","labels_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/625/labels{/name}","comments_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/625/comments","events_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/625/events","html_url":"https://github.com/webdriverio/webdriverio/issues/625","id":94367093,"number":625,"title":"v3 client error handling","user":{"login":"sean-hill","id":1205866,"avatar_url":"https://avatars.githubusercontent.com/u/1205866?v=3","gravatar_id":"","url":"https://api.github.com/users/sean-hill","html_url":"https://github.com/sean-hill","followers_url":"https://api.github.com/users/sean-hill/followers","following_url":"https://api.github.com/users/sean-hill/following{/other_user}","gists_url":"https://api.github.com/users/sean-hill/gists{/gist_id}","starred_url":"https://api.github.com/users/sean-hill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sean-hill/subscriptions","organizations_url":"https://api.github.com/users/sean-hill/orgs","repos_url":"https://api.github.com/users/sean-hill/repos","events_url":"https://api.github.com/users/sean-hill/events{/privacy}","received_events_url":"https://api.github.com/users/sean-hill/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-10T18:42:41Z","updated_at":"2015-07-11T17:34:46Z","closed_at":"2015-07-10T22:51:56Z","body":"Hey I used to have this:\r\n\r\n    client.on('error', function(e) {\r\n        console.log(e.body.value.class);\r\n        console.log(e.body.value.message);\r\n    });\r\n\r\nBut after upgrading to v3 my `e` object looks like this:\r\n\r\n\t{ \r\n\t\tmessage: 'An element could not be located on the page using the given search parameters.',\r\n\t  \ttype: 'NoSuchElement',\r\n\t  \tstack: undefined \r\n\t}\r\n\r\nAre the docs just outdated, or is something wrong?"},"comment":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/comments/120646915","html_url":"https://github.com/webdriverio/webdriverio/issues/625#issuecomment-120646915","issue_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/625","id":120646915,"user":{"login":"sean-hill","id":1205866,"avatar_url":"https://avatars.githubusercontent.com/u/1205866?v=3","gravatar_id":"","url":"https://api.github.com/users/sean-hill","html_url":"https://github.com/sean-hill","followers_url":"https://api.github.com/users/sean-hill/followers","following_url":"https://api.github.com/users/sean-hill/following{/other_user}","gists_url":"https://api.github.com/users/sean-hill/gists{/gist_id}","starred_url":"https://api.github.com/users/sean-hill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sean-hill/subscriptions","organizations_url":"https://api.github.com/users/sean-hill/orgs","repos_url":"https://api.github.com/users/sean-hill/repos","events_url":"https://api.github.com/users/sean-hill/events{/privacy}","received_events_url":"https://api.github.com/users/sean-hill/received_events","type":"User","site_admin":false},"created_at":"2015-07-11T17:34:46Z","updated_at":"2015-07-11T17:34:46Z","body":"Um, can't think of anything right now :smile: Thanks @christian-bromann!"}}