Client.KErr.retryable: def of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/client.bend as Client Lines 42-51 of bend-kube-runtime@0.2.0.0/src/client.bend: https://jend.leeeet.dev/read.txt?path=bend-kube-runtime@0.2.0.0/src/client.bend&start_line=42&end_line=51 import Base import bend-kube-runtime@0.2.0.0/src/core.bend as C # Whether a failed call is worth retrying: the network, 429 (API priority # and fairness), and 5xx. 4xx answers are final. def KErr.retryable(e: KErr) -> Bool: match e: case KNet{c, m}: True{} case KApi{C.Status{+c, r, m}}: Bool.or(U32.is_eq(c, 429), U32.is_ge(c, 500)) case KDecode{m}: False{} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_ge https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/client.bend&name=KErr https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/core.bend&name=Status