| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
Hydra.LoggingSpec
Synopsis
- spec :: Spec
- data Loggable
- data Undescribed = Undescribed
Documentation
A traced message whose ToJSON is partial, standing in for the node's real
ones (an Input carrying a snapshot whose accumulator cannot be committed
to).
Constructors
| Unencodable | |
| Overflowing | |
| Undescribable | |
| Encodable Int |
Instances
| ToJSON Loggable Source # | |
Defined in Hydra.LoggingSpec Methods toEncoding :: Loggable -> Encoding toJSONList :: [Loggable] -> Value toEncodingList :: [Loggable] -> Encoding | |
data Undescribed Source #
An exception that cannot be rendered, so the diagnostic entry substituted
for it cannot be encoded either. unencodable reaches this through
SomeException's own displayException, which delegates to the wrapped
exception's.
Constructors
| Undescribed |
Instances
| Exception Undescribed Source # | |
Defined in Hydra.LoggingSpec Methods toException :: Undescribed -> SomeException Source # fromException :: SomeException -> Maybe Undescribed Source # displayException :: Undescribed -> String Source # | |
| Show Undescribed Source # | |
Defined in Hydra.LoggingSpec | |