Closed justinlatimer closed 7 years ago
error-chain provides the bail!(ErrorKind::*) macro to replace return Err(ErrorKind::*.into()) which looks a lot tidier,
error-chain
bail!(ErrorKind::*)
return Err(ErrorKind::*.into())
error-chain
provides thebail!(ErrorKind::*)
macro to replacereturn Err(ErrorKind::*.into())
which looks a lot tidier,