Module error

Module error 

Source
Expand description

Definitions central to BPCon errors.

Structs§

BallotNumberMismatch
Represents an error that occurs when there is a mismatch between the ballot number of the party and the ballot number received in a message.
LeaderMismatch
Represents an error that occurs when there is a mismatch between the expected leader of the party and the sender of the message.
PartyStatusMismatch
Represents an error that occurs when there is a mismatch between the current status of the party and the status required for an operation.
ValueMismatch
Represents an error that occurs when there is a mismatch between the value held by the party and the value received in a message.

Enums§

DeserializationError
Represents the various errors that can occur during the deserialization process.
FollowEventError
Represents the various errors that can occur while following a party event.
LaunchBallotError
Represents the various errors that can occur during the ballot launch process.
SerializationError
Represents the various errors that can occur during the serialization process.
UpdateStateError
Represents the various errors that can occur when updating the state in a consensus protocol.