def http.err

cswap-bend-cli@0.1.0.0 · usage/req.bend:54

import cswap-bend-cli@0.1.0.0/usage/req.bend as Req
import Base
import cswap-bend-cli@0.1.0.0/http.bend as Http

54def http.err(+r: Http.Reply) -> Err:
55  match r:
56    case Http.Reply{st, head, body}:
57      Err{"http-" ++ U32.show(st), retry_after(head), body}

Uses (5)

Used by (2)