▲ 30 ▼ Error Handling in Rust vs. Exceptions in other languages (slicker.me) submitted 4 months ago by monica_b1998@lemmy.world to c/rust@programming.dev 18 comments fedilink hide all child comments
[–] treadful@lemmy.zip 0 points 4 months ago (1 child) That only works if everything has the same error types. permalink fedilink source parent hideshow 1 child comment replies: [–] calcopiritus@lemmy.world 4 points 4 months ago Or just implement Into for your error type. ? Works for Into permalink fedilink source parent
[–] calcopiritus@lemmy.world 4 points 4 months ago Or just implement Into for your error type. ? Works for Into permalink fedilink source parent