1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
/// ABCI Error
pub struct Error {
    /// Error code
    pub code: u32,
    /// Namespace for error code
    pub codespace: String,
    /// Output of application's logger (may be non-deterministic)
    pub log: String,
    /// Additional information (may be non-deterministic)
    pub info: String,
}

/// ABCI Result
pub type Result<T> = std::result::Result<T, Error>;