hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::validation::CommandError Struct Reference

#include "stateful_validator_common.hpp"

Collaboration diagram for iroha::validation::CommandError:
Collaboration graph

Public Attributes

std::string name
 Name of the failed command. More...
 
uint32_t error_code
 Error code, with which the command failed. More...
 
std::string error_extra
 Extra information about error for developers to be placed into the log. More...
 
bool tx_passed_initial_validation
 Shows, if transaction has passed initial validation. More...
 
size_t index = 0
 Position of the failed command in transaction. More...
 

Detailed Description

Type of command error report which appeared during validation process; contains name of command, command error itself and the command index in the transaction.

Member Data Documentation

uint32_t iroha::validation::CommandError::error_code

Error code, with which the command failed.

std::string iroha::validation::CommandError::error_extra

Extra information about error for developers to be placed into the log.

size_t iroha::validation::CommandError::index = 0

Position of the failed command in transaction.

std::string iroha::validation::CommandError::name

Name of the failed command.

bool iroha::validation::CommandError::tx_passed_initial_validation

Shows, if transaction has passed initial validation.


The documentation for this struct was generated from the following file: