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

#include "command_executor.hpp"

Collaboration diagram for iroha::ametsuchi::CommandError:
Collaboration graph

Public Types

using ErrorCodeType = uint32_t
 

Public Member Functions

 CommandError (std::string_view command_name, ErrorCodeType error_code, std::string_view error_extra)
 
std::string toString () const
 

Public Attributes

std::string command_name
 
ErrorCodeType error_code
 
std::string error_extra
 

Detailed Description

Error for command execution or validation Contains command name, as well as an error message

Member Typedef Documentation

◆ ErrorCodeType

Constructor & Destructor Documentation

◆ CommandError()

CommandError::CommandError ( std::string_view  command_name,
ErrorCodeType  error_code,
std::string_view  error_extra 
)

Member Function Documentation

◆ toString()

std::string CommandError::toString ( ) const
Here is the caller graph for this function:

Member Data Documentation

◆ command_name

std::string iroha::ametsuchi::CommandError::command_name

◆ error_code

ErrorCodeType iroha::ametsuchi::CommandError::error_code

◆ error_extra

std::string iroha::ametsuchi::CommandError::error_extra

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