extractValue throw error