I have managed to port my project mostly to rust 2018. However, there is one final problem.
I was using error_chain which is deprecated,
I can’t import the error_chain macro anymore using the new way to import macros.
I thought about moving to the failure create but that also looks abandoned as it hasn’t had a commit in the last few months.
What would people recommend ?
I have around twenty errors defined with the error_chain macro and use bail! a lot throughout mu code
I also pass around ten errors from dependencies.
Is there a recommended way to handle errors that I have missed ?