How to catch error #20

Closed
moshir opened this Issue Aug 19, 2012 · 4 comments

Comments

Projects
None yet
5 participants
@moshir

moshir commented Aug 19, 2012

Hi,

first of all, thanks for this excellent module.
Question : How error are supposed to be handled ?
The api seems to provide an 'error' event.
But even if you add an 'error' listener, there's a lot of throw new Error ("...") in the code base that makes error handling difficult.

@DominicBoettger

This comment has been minimized.

Show comment Hide comment
@DominicBoettger

DominicBoettger Feb 4, 2013

Same problem here not able to catch the error....

[ERROR] Error
Error: separator expected after a closing quote; found ,
at CsvReader.parse (/~/node/project1/node_modules/ya-csv/lib/ya-csv.js:131:35)

Same problem here not able to catch the error....

[ERROR] Error
Error: separator expected after a closing quote; found ,
at CsvReader.parse (/~/node/project1/node_modules/ya-csv/lib/ya-csv.js:131:35)

@diversario

This comment has been minimized.

Show comment Hide comment
@diversario

diversario Aug 23, 2013

Same here. Why is this error throws instead of being emitted?

Same here. Why is this error throws instead of being emitted?

@koles

This comment has been minimized.

Show comment Hide comment
@koles

koles Sep 10, 2014

Owner

Can you please check version 0.9.4?

thanks

Owner

koles commented Sep 10, 2014

Can you please check version 0.9.4?

thanks

@koles koles closed this Sep 10, 2014

@uncedric

This comment has been minimized.

Show comment Hide comment
@uncedric

uncedric Nov 28, 2014

@koles I am using version 0.9.4 and I'm still getting that error, any idea how to handle it?

@koles I am using version 0.9.4 and I'm still getting that error, any idea how to handle it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment