cstkingkey / docx-rs

A Rust library for parsing and generating docx files.
MIT License
12 stars 12 forks source link

Implement `Display` and `Error` for `DocxError` #14

Closed alpha-tango-kilo closed 4 months ago

alpha-tango-kilo commented 4 months ago

For compatibility with ? and other error handling conventions

Happy to submit a PR for this if you'd accept it!

Note also that you could be using thiserror to streamline the code to handle this, especially since it's already pulled in transiently by zip

cstkingkey commented 4 months ago

pr is welcome