{"action":"opened","issue":{"url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/173","labels_url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/173/comments","events_url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/173/events","html_url":"https://github.com/unexpectedjs/unexpected/issues/173","id":89492309,"number":173,"title":"expect.fail with an object: Set all (non-blacklisted) properties on the UnexpectedError","user":{"login":"papandreou","id":373545,"avatar_url":"https://avatars.githubusercontent.com/u/373545?v=3","gravatar_id":"","url":"https://api.github.com/users/papandreou","html_url":"https://github.com/papandreou","followers_url":"https://api.github.com/users/papandreou/followers","following_url":"https://api.github.com/users/papandreou/following{/other_user}","gists_url":"https://api.github.com/users/papandreou/gists{/gist_id}","starred_url":"https://api.github.com/users/papandreou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/papandreou/subscriptions","organizations_url":"https://api.github.com/users/papandreou/orgs","repos_url":"https://api.github.com/users/papandreou/repos","events_url":"https://api.github.com/users/papandreou/events{/privacy}","received_events_url":"https://api.github.com/users/papandreou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-19T07:31:54Z","updated_at":"2015-06-19T07:31:54Z","closed_at":null,"body":"I have a use case for adding some additional info to an error for another assertion to pick up. Currently extra properties are ignored:\r\n\r\n```js\r\nexpect.fail({message: 'blabla', foobarquux: 'abc'});\r\n```\r\n\r\nSo I have to try...catch, set the additional properties, then rethrow, which is annoying."}}