I would like to set ErrorMode = ErrorMode.SaveAndContinue
so I can process errors after a CSV file has been written.
How can I generate row level errors artificially when calling WriteStream()
so that I can test my error handling?
In particular I would like to find out whether the AfterWriteRecord
event is fired if a row errors.