throw error if unknown environment given