Would you mind adding a spec to cover this case? I think you can probably use a [Jasmine spy](https://github.com/pivotal/jasmine/wiki/Spies#spy-specific-matchers) to throw the correct exception.