throw on unknown digit