{"action":"created","issue":{"url":"https://api.github.com/repos/acdlite/redux-actions/issues/16","labels_url":"https://api.github.com/repos/acdlite/redux-actions/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/acdlite/redux-actions/issues/16/comments","events_url":"https://api.github.com/repos/acdlite/redux-actions/issues/16/events","html_url":"https://github.com/acdlite/redux-actions/pull/16","id":101146420,"number":16,"title":"implement FSA errors by setting error to true if payload is an Error obj","user":{"login":"ngokevin","id":674727,"avatar_url":"https://avatars.githubusercontent.com/u/674727?v=3","gravatar_id":"","url":"https://api.github.com/users/ngokevin","html_url":"https://github.com/ngokevin","followers_url":"https://api.github.com/users/ngokevin/followers","following_url":"https://api.github.com/users/ngokevin/following{/other_user}","gists_url":"https://api.github.com/users/ngokevin/gists{/gist_id}","starred_url":"https://api.github.com/users/ngokevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngokevin/subscriptions","organizations_url":"https://api.github.com/users/ngokevin/orgs","repos_url":"https://api.github.com/users/ngokevin/repos","events_url":"https://api.github.com/users/ngokevin/events{/privacy}","received_events_url":"https://api.github.com/users/ngokevin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-15T06:09:46Z","updated_at":"2015-08-24T21:09:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/acdlite/redux-actions/pulls/16","html_url":"https://github.com/acdlite/redux-actions/pull/16","diff_url":"https://github.com/acdlite/redux-actions/pull/16.diff","patch_url":"https://github.com/acdlite/redux-actions/pull/16.patch"},"body":"Noticed this spec of FSA wasn't yet implemented, and there's an issue for it.\r\n\r\nThis sets action.```error``` to true if the payload is a direct instance of ```Error```. This is the *faintest* touch of magic, but if it's documented, it makes sense.\r\n\r\nAlso fixes a possible error where we're trying to set action.meta even though action is a ```const```.\r\n\r\nr? @acdlite "},"comment":{"url":"https://api.github.com/repos/acdlite/redux-actions/issues/comments/134380965","html_url":"https://github.com/acdlite/redux-actions/pull/16#issuecomment-134380965","issue_url":"https://api.github.com/repos/acdlite/redux-actions/issues/16","id":134380965,"user":{"login":"ngokevin","id":674727,"avatar_url":"https://avatars.githubusercontent.com/u/674727?v=3","gravatar_id":"","url":"https://api.github.com/users/ngokevin","html_url":"https://github.com/ngokevin","followers_url":"https://api.github.com/users/ngokevin/followers","following_url":"https://api.github.com/users/ngokevin/following{/other_user}","gists_url":"https://api.github.com/users/ngokevin/gists{/gist_id}","starred_url":"https://api.github.com/users/ngokevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngokevin/subscriptions","organizations_url":"https://api.github.com/users/ngokevin/orgs","repos_url":"https://api.github.com/users/ngokevin/repos","events_url":"https://api.github.com/users/ngokevin/events{/privacy}","received_events_url":"https://api.github.com/users/ngokevin/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T21:09:51Z","updated_at":"2015-08-24T21:09:51Z","body":"But there doesn't seem to be a way to set ```error``` to ```true``` with ```createAction```. The only thing that can be set by the user is ```type``` and ```payload```."}}