iop-morpheus-proto 0.0.16

Morpheus protocol definitions used on both node and sdk side of the IOP Stack™
Documentation
use super::*;

use crate::txtype::OperationAttempt;

#[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct OperationError {
    pub invalid_operation_attempt: Option<OperationAttempt>,
    // code: u16; TODO: later we need exact error codes
    pub message: String,
}