replacing reference to non-existent Exception with Error

One liner.

While doing some stuff with this method in `master` (which worked in 0.8.10) ran across this problem.

The error message was informative, and still got to me, but I imagine the Error in question was interesting, and not the missing reference!