{"action":"created","issue":{"url":"https://api.github.com/repos/caolan/highland/issues/186","labels_url":"https://api.github.com/repos/caolan/highland/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/caolan/highland/issues/186/comments","events_url":"https://api.github.com/repos/caolan/highland/issues/186/events","html_url":"https://github.com/caolan/highland/issues/186","id":53202972,"number":186,"title":"Allow ratelimit to limit errors","user":{"login":"jgrund","id":458717,"avatar_url":"https://avatars.githubusercontent.com/u/458717?v=3","gravatar_id":"","url":"https://api.github.com/users/jgrund","html_url":"https://github.com/jgrund","followers_url":"https://api.github.com/users/jgrund/followers","following_url":"https://api.github.com/users/jgrund/following{/other_user}","gists_url":"https://api.github.com/users/jgrund/gists{/gist_id}","starred_url":"https://api.github.com/users/jgrund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgrund/subscriptions","organizations_url":"https://api.github.com/users/jgrund/orgs","repos_url":"https://api.github.com/users/jgrund/repos","events_url":"https://api.github.com/users/jgrund/events{/privacy}","received_events_url":"https://api.github.com/users/jgrund/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-31T20:53:41Z","updated_at":"2015-01-03T20:26:42Z","closed_at":null,"body":"I have a use case where I'd like errors to be limited the same way as values are by `ratelimit`.\r\n\r\nI think it could make sense to pass an optional flag to `ratelimit` indicating whether we want to limit errors.\r\n\r\nIf this is agreeable, I'll send a PR."},"comment":{"url":"https://api.github.com/repos/caolan/highland/issues/comments/68608299","html_url":"https://github.com/caolan/highland/issues/186#issuecomment-68608299","issue_url":"https://api.github.com/repos/caolan/highland/issues/186","id":68608299,"user":{"login":"vqvu","id":6435429,"avatar_url":"https://avatars.githubusercontent.com/u/6435429?v=3","gravatar_id":"","url":"https://api.github.com/users/vqvu","html_url":"https://github.com/vqvu","followers_url":"https://api.github.com/users/vqvu/followers","following_url":"https://api.github.com/users/vqvu/following{/other_user}","gists_url":"https://api.github.com/users/vqvu/gists{/gist_id}","starred_url":"https://api.github.com/users/vqvu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vqvu/subscriptions","organizations_url":"https://api.github.com/users/vqvu/orgs","repos_url":"https://api.github.com/users/vqvu/repos","events_url":"https://api.github.com/users/vqvu/events{/privacy}","received_events_url":"https://api.github.com/users/vqvu/received_events","type":"User","site_admin":false},"created_at":"2015-01-03T20:26:42Z","updated_at":"2015-01-03T20:26:42Z","body":"We want to avoid optional parameters in transforms because they can't be correctly curried, so this would have to be a new transform.\r\n\r\nHowever, can't you just use `errors` to push the errors as some sort of special value and _then_ use `ratelimit`?"}}