def fetch.fail.of
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
4917def fetch.fail.of(r: Result<&1, &1, Err, Res>) -> Result<&1, &1, Err, Stream>:
4918 match r:
4919 case Fail{e}:
4920 Fail{e}
4921 case Done{res}:
4922 Fail{ErrBad{}}