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

Hydra.Contract.HeadError

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)