def kind_of
import cswap-bend-cli@0.1.0.0/clibase.bend as Clibaseimport 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"))