aatxe / irc

the irc crate – usable, async IRC for Rust
Mozilla Public License 2.0
526 stars 100 forks source link

Switch to modern error handling #185

Closed udoprog closed 4 years ago

udoprog commented 4 years ago

This switches error handling from failure to std::error::Error, supported by thiserror.

The new equivalent of failure::Error is anyhow::Error, so we use this for tests.

aatxe commented 4 years ago

Cheers! 🍻