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

Hydra.Contract.InitialError

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)