inre / rust-mq

RustMQ is the MQTT client written on pure Rust.
MIT License
190 stars 28 forks source link

Implement std::error::Error and fmt::Display for Error types #13

Closed hmvp closed 8 years ago

hmvp commented 8 years ago

This makes it easier for downstream projects to implement their own error and result types: https://doc.rust-lang.org/book/error-handling.html#standard-library-traits-used-for-error-handling