donnytian / Npoi.Mapper

Use this tool to import or export data with Excel file. The tool is a convention based mapper between strong typed object and Excel data via NPOI.
MIT License
589 stars 114 forks source link

FR: Better error handling: "Returned failure by custom cell resolver" #114

Closed mkrijtenberg closed 1 year ago

mkrijtenberg commented 1 year ago

Hi,

I use a custom resolver to parse some cells, which does some input validation. I can only return true or false and the resulting error message is too generic "Returned failure by custom cell resolver". I would like to add my own message. Is it maybe possible to expose the ColumnFailed method, or maybe return an error message instead of a boolean?

Thanks!