thiserror implements std::error::Error. Having the std Error implemented is helpful for error handling as crates like anyhow or other errors like std::io::Error automatically work via Into.
also parameters was added to the ErrorResponse which could be helpful for the retry_after property.
thiserror
implementsstd::error::Error
. Having the std Error implemented is helpful for error handling as crates likeanyhow
or other errors likestd::io::Error
automatically work viaInto
.also
parameters
was added to theErrorResponse
which could be helpful for the retry_after property.