Add more verbose error message

Add more verbose error for duplicate paths while generating TOC
Merge pull request #1 from jangxyz/patch-1

Add more verbose error message