def rec.err

cswap-bend-cli@0.1.0.0 · collectrun.bend:51

import cswap-bend-cli@0.1.0.0/collectrun.bend as Collectrun
import Base
import cswap-bend-cli@0.1.0.0/urec.bend as Urec
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/ustore.bend as Ustore

51def rec.err(error: Maybe<&2, String>, retry: Maybe<&2, U32>, struck: Json.Json, ok: Urec.Rec, +id: Ustore.Id, +claim: String) -> Urec.Rec:
52  match error:
53    case None{}:
54      ok
55    case Some{e}:
56      Urec.Rec{id, claim, 1, Json.JNull{}, e, retry, struck, None{}}

Uses (6)

Used by (1)