jshemas / openGraphScraper

Node.js scraper service for Open Graph Info and More!
MIT License
643 stars 102 forks source link

Update error type #195

Closed fa-901 closed 9 months ago

fa-901 commented 9 months ago

Change:

Changed type of error from string to boolean. The actual output on run error is boolean.

jshemas commented 9 months ago

Hello. Can you give some context for the problem you are trying to solve? That error is usually a string with set to exception.message. Are you trying to set the type for base error here -> https://github.com/jshemas/openGraphScraper/blob/master/index.ts#L54-L66?