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

#include "error_response.hpp"

Inheritance diagram for iroha::model::ErrorResponse:
Inheritance graph
Collaboration diagram for iroha::model::ErrorResponse:
Collaboration graph

Public Types

enum  Reason {
  STATELESS_INVALID, STATEFUL_INVALID, NO_ACCOUNT, NO_ASSET,
  NO_ROLES, NO_ACCOUNT_ASSETS, NO_ACCOUNT_DETAIL, NO_SIGNATORIES,
  NOT_SUPPORTED
}
 

Public Attributes

Reason reason {}
 
- Public Attributes inherited from iroha::model::QueryResponse
hash256_t query_hash {}
 

Additional Inherited Members

- Public Member Functions inherited from iroha::model::QueryResponse
virtual ~QueryResponse ()
 

Detailed Description

Provide error answer with reason about error

Member Enumeration Documentation

Reason of error

Enumerator
STATELESS_INVALID 

signatures or created time are invalid

STATEFUL_INVALID 

permissions are invalid

NO_ACCOUNT 

when requested account does not exist

NO_ASSET 

when requested asset does not exist

NO_ROLES 

No Roles found in the system

NO_ACCOUNT_ASSETS 

when requested account asset does not exist

NO_ACCOUNT_DETAIL 

when requested account detail does not exist

NO_SIGNATORIES 

when requested signatories does not exist

NOT_SUPPORTED 

when unidentified request was received

Member Data Documentation

Reason iroha::model::ErrorResponse::reason {}

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