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

Next configuration is already scheduled.

Can be emitted by Propose or Vote.

The sender of the transaction is not among the active validators.

Can be emitted by Propose or Vote.

The configuration in the proposal does not reference the currently active configuration.

Can be emitted by Propose or Vote.

Current blockchain height exceeds the height of the proposal activation.

Can be emitted by Propose or Vote.

The same configuration is already proposed.

Specific for Propose.

The configuration in the transaction cannot be parsed.

Specific for Propose.

The transaction references an unknown configuration.

Specific for Vote.

The validator who authored the transaction has already voted for the same proposal.

Specific for Vote.

Trait Implementations

impl Debug for ErrorCode
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ErrorCode

impl Sync for ErrorCode