throw error on unknown validation string