| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Cometa.Diagnostics
Description
Human-readable category labels for logs and error messages. Unlike Show,
these functions describe only the category and never include hashes, keys or
payloads. They use the English cardano-c diagnostic vocabulary, not CIP-116
JSON tags. Use the domain encoders for machine interchange.
Synopsis
- certificateKind :: Certificate -> Text
- nativeScriptKind :: NativeScript -> Text
- vote :: Vote -> Text
- voterKind :: Voter -> Text
Documentation
certificateKind :: Certificate -> Text Source #
Certificate category, for example "Certificate Type: Stake Registration".
Field contents and registration/deposit state do not affect the label.
nativeScriptKind :: NativeScript -> Text Source #
Native script condition, for example "Native Script Type: Require All Of".
Does not evaluate the script or expose any child condition or credential.