eritbh / yuuko

🔰 No-frills Discord command framework for Eris
http://eritbh.me/yuuko
MIT License
17 stars 2 forks source link

Add filename prop to errors thrown in addFile #65

Closed eritbh closed 3 years ago

eritbh commented 3 years ago

Fixes #64. Adds a filename property to errors thrown when calling addFile (and by extension addDir). Node seems to display custom error properties when thrown, so we don't need to customize the message or anything.