Enum exonum_configuration::ErrorCode
[−]
[src]
#[repr(u8)]pub enum ErrorCode { AlreadyScheduled, UnknownSender, InvalidConfigRef, ActivationInPast, AlreadyProposed, InvalidConfig, UnknownConfigRef, AlreadyVoted, }
Error codes emitted by Propose
and/or Vote
transactions during execution.
Variants
AlreadyScheduled
Next configuration is already scheduled.
Can be emitted by Propose
or Vote
.
UnknownSender
The sender of the transaction is not among the active validators.
Can be emitted by Propose
or Vote
.
InvalidConfigRef
The configuration in the proposal does not reference the currently active configuration.
Can be emitted by Propose
or Vote
.
ActivationInPast
Current blockchain height exceeds the height of the proposal activation.
Can be emitted by Propose
or Vote
.
AlreadyProposed
The same configuration is already proposed.
Specific for Propose
.
InvalidConfig
The configuration in the transaction cannot be parsed.
Specific for Propose
.
UnknownConfigRef
The transaction references an unknown configuration.
Specific for Vote
.
AlreadyVoted
The validator who authored the transaction has already voted for the same proposal.
Specific for Vote
.