iddm / thread-priority

A simple Cross-platform thread schedule and priority library for rust.
MIT License
110 stars 20 forks source link

Error should implement std::error::Error trait #37

Closed nazar-pc closed 9 months ago

nazar-pc commented 9 months ago

Right now it is a bit problematic in some contexts because of that. thiserror crate can be used to derive it conveniently.

iddm commented 9 months ago

Hi @nazar-pc and thank you for your question. I think this has already been done, I have just forgotten to publish the new version.

iddm commented 9 months ago

The relevant changes should be here: https://crates.io/crates/thread-priority/0.16.0

Please reopen this issue if it is not. Have a great day!