| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
Hydra.Contract.HeadTokensError
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)
data HeadTokensError Source #
Constructors
| SeedNotSpent | |
| WrongNumberOfTokensMinted | |
| MissingST | |
| MissingPTs | |
| WrongDatum | |
| MintingNotAllowed | |
| NoPTs | |
| WrongQuantity | |
| ExpectedHeadDatumType | |
| ExpectedInlineDatum | |
| MultipleHeadOutput |
Instances
| Show HeadTokensError Source # | |
Defined in Hydra.Contract.HeadTokensError | |
| ToErrorCode HeadTokensError Source # | |
Defined in Hydra.Contract.HeadTokensError Methods toErrorCode :: HeadTokensError -> Text Source # | |