This error seems out of date. Should be a `ValueError` too