View.failure_fields: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/view.bend as View Lines 278-283 of cswap-bend-cli@0.1.0.0/view.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/view.bend&start_line=278&end_line=283 import Base import cswap-bend-cli@0.1.0.0/pollrow.bend as Pollrow import cswap-bend-cli@0.1.0.0/json.bend as Json def failure_fields(unavailable: Bool, last_error: Maybe<&2, String>, +backoff: Maybe<&2, U32>, +now: U32, j: Json.Json) -> Json.Json: match unavailable last_error: case True{} Some{e}: retry_at(Pollrow.before.m(backoff, now), backoff, Json.set("usageError", jstr(e), j)) case _ _: j Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=set https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/pollrow.bend&name=before.m https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/view.bend&name=jstr https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/view.bend&name=retry_at