zebra_chain/block/
error.rs

1
2
3
4
5
6
7
8
9
10
//! Errors that can occur when checking Block consensus rules.

use thiserror::Error;

#[allow(missing_docs)]
#[derive(Error, Debug, PartialEq, Eq)]
pub enum BlockError {
    #[error("transaction has wrong consensus branch id for block network upgrade")]
    WrongTransactionConsensusBranchId,
}