this should be ``throw new errors.InvalidArgumentError(...)`` -- it shouldn't be wrapped in next(). The ``.catch()`` will wrap it in next()