myutil
A simple and friendly error-chain
.
Usage
use ;
A simple and friendly error-chain
.
use myutil::{err::*, *};
fn a() -> Result<()> {}
fn b() -> Result<()> {}
fn b() -> Result<()> {}
fn main() {
let res = a().c(d!())
.and_then(|_| b().c(d!()) )
.and_then(|_| c().c(d!()) );
pnk!(res);
}