Changed OverflowError to StandardError to hew more closely to their respective intents