hydra-plutus-0.20.0: Hydra Plutus Contracts
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Contract.DepositError

Synopsis

Documentation

errorCode :: ToErrorCode e => e -> Q Exp Source #

Get the string literal from given error e. Use this with template haskell splices, e.g. $(errorCode MyError)