Propagate error on loading Receiver#720
Conversation
Pull Request Test Coverage Report for Build 15305466743Details
💛 - Coveralls |
|
@spacebear21 I appreaciate your review on the road but I think this one needs a closer eye. Isn't this change both lossy and unnecessarily assigns, making it asymmetrical from the others? Beyond the asymmetry, have we considered what it would take to keep the error data as long as possible before it needs to be used across the FFI boundary? |
I suppose it does unnecessarily assign. Do you mean it's lossy because of the string conversion? iirc it's the only way we're currently able to convert a generic
Is this the same concern re: lossiness? I guess we could change the Result error type for |
yeah, the main reason i converted it from a string was that it's the only way to convert
I thought it might be better for readability (maybe not by much), and the compiler should optimize the unnecessary assignment during release builds. I don't mind going back and updating this if we figure out the lossy conversion and/or removing the unnecessary assignment |
Closes #718