hydra-plutus
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Contract.UtilError

Synopsis

Documentation

data UtilError Source #

Instances

Instances details
Show UtilError Source # 
Instance details

Defined in Hydra.Contract.UtilError

ToErrorCode UtilError Source # 
Instance details

Defined in Hydra.Contract.UtilError

Methods

toErrorCode :: UtilError -> Text Source #

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)