def kind_of

cswap-bend-cli@0.1.0.0 · clibase.bend:30

import cswap-bend-cli@0.1.0.0/clibase.bend as Clibase
import Base
import cswap-bend-cli@0.1.0.0/clock.bend as Clock

30# The exception class the reference raises for a store failure code.
31def kind_of(+code: U32) -> String:
32  Clock.sel.s(U32.is_eq(code, 3), "AccountNotFoundError", Clock.sel.s(U32.is_eq(code, 2), "ValidationError", "ConfigError"))

Uses (4)

Used by (1)