def fetch.fail.of
import bend-kit-http@0.38.5.0/http.bend as Httpimport Base
4921def fetch.fail.of(r: Result<&1, &1, Err, Res>) -> Result<&1, &1, Err, Stream>:
4922 match r:
4923 case Fail{e}:
4924 Fail{e}
4925 case Done{res}:
4926 Fail{ErrBad{}}