MathNya / umya-spreadsheet

A pure rust library for reading and writing spreadsheet files
MIT License
240 stars 41 forks source link

`std::error:Error` is not implemented for `XlsxError` in `umya_spreadsheet::reader`, and `umya_spreadsheet::writer` #78

Closed john-dc252 closed 1 year ago

john-dc252 commented 1 year ago

I tried to use error propagation with Box<dyn std::error::Error> with the read and write methods and found that std::error::Error was not implemented for XlsxError.

Is there a different preferred way of handling these errors or should std::error::Error be implemented for these?

MathNya commented 1 year ago

Thank you for contacting us. Implemented std::error:Error in XlsxError. Please get the latest version and check it.

john-dc252 commented 1 year ago

Tested version 0.8.3 and error propagation with Box is now possible. Thank you.