Closed katyo closed 5 years ago
I changed error type (ImageError) due to next reasons:
ImageError
std::error
I added implementations for std::fmt::Display and std::error::Error. I removed String parameter from error enum variants.
std::fmt::Display
std::error::Error
String
I'm going to merge this, but I'm going to hold back on publishing the crate immediately in case other changes come in. I want to avoid rapidly changing minor versions due to breaking changes.
Thanks again.
Ok
I changed error type (
ImageError
) due to next reasons:std::error
I added implementations for
std::fmt::Display
andstd::error::Error
. I removedString
parameter from error enum variants.