javascriptdata / danfojs

Danfo.js is an open source, JavaScript library providing high performance, intuitive, and easy to use data structures for manipulating and processing structured data.
https://danfo.jsdata.org/
MIT License
4.81k stars 209 forks source link

Allow user to handle errors #638

Open nucoinha opened 7 months ago

nucoinha commented 7 months ago

The code using Papa js (readCSV in browser, for instance) doesn't reject the promise when a error occurs so makes it impossible for the user to catch the problem.

I'm not sure if this patch will work but this is an issue anyway.