Skip to content

WIP: refactor(core): remove custom ErrorKind#1394

Draft
fujiapple852 wants to merge 1 commit intomasterfrom
refactor-remove-custom-error-kinds
Draft

WIP: refactor(core): remove custom ErrorKind#1394
fujiapple852 wants to merge 1 commit intomasterfrom
refactor-remove-custom-error-kinds

Conversation

@fujiapple852
Copy link
Copy Markdown
Owner

@fujiapple852 fujiapple852 commented Nov 29, 2024

Rust 1.83 stabilised HostUnreachable and NetworkUnreachable (but not on Windows):

https://doc.rust-lang.org/stable/std/io/enum.ErrorKind.html#variant.HostUnreachable
https://doc.rust-lang.org/stable/std/io/enum.ErrorKind.html#variant.NetworkUnreachable

However, InProgress is still unstable:

https://doc.rust-lang.org/std/io/enum.ErrorKind.html#variant.InProgress

Once the latter is stable, we ca remove the custom ErrorKind type.

@fujiapple852 fujiapple852 marked this pull request as draft November 29, 2024 14:38
@fujiapple852 fujiapple852 changed the title refactor(core): remove custom ErrorKind WIP: refactor(core): remove custom ErrorKind Nov 29, 2024
@fujiapple852 fujiapple852 added the WIP Work in progress label Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked WIP Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant