hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
block_error_response.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_BLOCK_ERROR_RESPONSE_HPP
7 #define IROHA_SHARED_MODEL_BLOCK_ERROR_RESPONSE_HPP
8 
10 
12 
13 namespace shared_model {
14  namespace interface {
18  class BlockErrorResponse : public ModelPrimitive<BlockErrorResponse> {
19  public:
23  virtual const types::DescriptionType &message() const = 0;
24 
29  std::string toString() const override;
30 
34  bool operator==(const ModelType &rhs) const override;
35  };
36  } // namespace interface
37 } // namespace shared_model
38 #endif // IROHA_SHARED_MODEL_BLOCK_ERROR_RESPONSE_HPP
Definition: block_error_response.hpp:18
std::string DescriptionType
Type of the transfer message.
Definition: types.hpp:83
virtual const types::DescriptionType & message() const =0
bool operator==(const ModelType &rhs) const override
Definition: block_error_response.cpp:20
Definition: model_primitive.hpp:22
Definition: command_executor.hpp:12
std::string toString() const override
Definition: block_error_response.cpp:13