Function bitcoin::util::propagate_err [] [src]

pub fn propagate_err<T>(s: String, res: Result<T, Error>) -> Result<T, Error>

Prepend the detail of an IoResult's error with some text to get poor man's backtracing