Raise an error when to_i is called on an invalid numeral