Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Structured errors related to configuration mismatch.
When we start a Node
we need to do sanity checks between what's
provided as parameters to the node and what's persisted.
Synopsis
- newtype ParameterMismatch = ParameterMismatch [ParamMismatch]
- data ParamMismatch
- = ContestationPeriodMismatch {
- loadedCp :: ContestationPeriod
- configuredCp :: ContestationPeriod
- | PartiesMismatch {
- loadedParties :: [Party]
- configuredParties :: [Party]
- | SavedNetworkPartiesInconsistent { }
- = ContestationPeriodMismatch {
Documentation
newtype ParameterMismatch Source #
Exception used to indicate command line options not matching the persisted state.
Instances
Exception ParameterMismatch Source # | |
Show ParameterMismatch Source # | |
Defined in Hydra.Node.ParameterMismatch | |
Eq ParameterMismatch Source # | |
Defined in Hydra.Node.ParameterMismatch (==) :: ParameterMismatch -> ParameterMismatch -> Bool Source # (/=) :: ParameterMismatch -> ParameterMismatch -> Bool Source # |
data ParamMismatch Source #
ContestationPeriodMismatch | |
| |
PartiesMismatch | |
| |
SavedNetworkPartiesInconsistent | |