Skip to content

Conversation

Narfinger
Copy link
Contributor

@Narfinger Narfinger commented Aug 5, 2025

These types will give the Bincode error, Io errors (which are converted
from platform errors) and Disconnect.
Additionally we now use the thiserror crate which removes some of the
code.

This is a breaking change but because there are others comming we do not increase the version yet.

@Narfinger Narfinger force-pushed the error-handling branch 2 times, most recently from a9f4457 to 3f0752a Compare August 5, 2025 09:47
@Narfinger Narfinger changed the title Improved error handling Unify error handling to have IpcError and TryRecvError be the main errortypes. Aug 5, 2025
@Narfinger Narfinger force-pushed the error-handling branch 4 times, most recently from fae67df to 4ef7ae4 Compare August 6, 2025 07:49
@Narfinger
Copy link
Contributor Author

Ok the async errors should be fixed now. Please rerun the CI to see if there is anything else missing.

@Narfinger Narfinger marked this pull request as ready for review August 6, 2025 07:50
@sagudev sagudev self-requested a review August 6, 2025 07:52
@Narfinger Narfinger force-pushed the error-handling branch 2 times, most recently from 512913c to d606cd9 Compare August 7, 2025 08:21
@sagudev
Copy link
Member

sagudev commented Aug 8, 2025

What's the status here, given that you closed #408? If we do not plan to change serialization library I wish to avoid landing any breaking changes at least in short term.

@Narfinger
Copy link
Contributor Author

I still want to change serialization libraries but adding the benchmark comes first. I noticed that bitcode did not provide any improvements for the performance but postcard seems to be good.
I think we should first fix the benchmark, then we can see if the performance improvements for postcard hold up.

types.

These types will give the Bincode error, Io errors (which are converted
from platform errors) and Disconnect.
Additionally we now use the thiserror crate which removes some of the
code.

Signed-off-by: Narfinger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants