ouroboros-consensus
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.Peras.Error.V1

Description

Concrete Peras error types for the V1 voting protocol.

NOTE: this module is meant to be imported qualified.

Synopsis

Documentation

data PerasError blk Source #

Collection of voting-related errors for Peras

Instances

Instances details
Eq (PerasVotingCommitteeError blk) ⇒ Eq (PerasError blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Error.V1

Methods

(==) ∷ PerasError blk → PerasError blk → Bool #

(/=) ∷ PerasError blk → PerasError blk → Bool #

(Typeable blk, Show (PerasVotingCommitteeError blk)) ⇒ Exception (PerasError blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Error.V1

Generic (PerasError blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Error.V1

Associated Types

type Rep (PerasError blk) 
Instance details

Defined in Ouroboros.Consensus.Peras.Error.V1

Methods

from ∷ PerasError blk → Rep (PerasError blk) x #

to ∷ Rep (PerasError blk) x → PerasError blk #

Show (PerasVotingCommitteeError blk) ⇒ Show (PerasError blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Error.V1

Methods

showsPrec ∷ Int → PerasError blk → ShowS #

show ∷ PerasError blk → String #

showList ∷ [PerasError blk] → ShowS #

NoThunks (PerasVotingCommitteeError blk) ⇒ NoThunks (PerasError blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Error.V1

IsPerasError (PerasError blk) blk Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Error.V1

type Rep (PerasError blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Error.V1