Converts this value to a Int, or throws an error if it cannot be converted.
If the value cannot be converted.