Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.

switch from error-chain to https://github.com/rust-lang-nursery/failure #163

Closed
snd opened this issue Apr 16, 2018 · 3 comments
Closed

Comments

@snd
Copy link
Contributor

snd commented Apr 16, 2018

i've used https://github.com/rust-lang-nursery/failure in other projects and found it much nicer to work with than error_chain

It is intended to replace error management based on std::error::Error with a new system based on lessons learned over the past several years, including those learned from experience with quick-error and error-chain.

curious to hear others opinions on it

@debris
Copy link
Contributor

debris commented Apr 17, 2018

is it interoperable with error-chain errors?

@snd
Copy link
Contributor Author

snd commented Apr 17, 2018

i thought it was. though i was running into some issues yesterday with web3::Error which uses error chain. failure requires things implementing Fail to be Sync and Send which is annoying. i'll probably hold off on this for now

@snd
Copy link
Contributor Author

snd commented Apr 20, 2018

closing this for now. might reopen at a later date

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants