kafka-protocol-rs
kafka-protocol-rs copied to clipboard
Error handling
Error handling is a bit of a mess right now. We emit two different serde errors with very little context, that also don't impl std::error::Error which makes them hard to interact with.
is there a chance we could switch to thiserror with structured errors?
It was a while ago but when investigating how to do errors for this library I came to the conclusion that there was no value in using structured errors because all errors will be handled in the same way anyway. Are there any examples you have of error cases that require different handling?