Function bicoro::failable::err[][src]

pub fn err<'a, I, O, A, E>(e: E) -> ResultCoroutine<'a, I, O, A, E>
Expand description

Fails the coroutine, further binds will short-circuit

This allows us to ergonomically fail. Like the result type build into result