Skip to content

Commit

Permalink
Comments for reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilsa authored and lebdron committed Aug 2, 2017
1 parent d45feb3 commit 0c3d1ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions irohad/model/queries/responses/error_response.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ namespace iroha {
enum Reason {
STATELESS_INVALID,
STATEFUL_INVALID,
NO_ACCOUNT,
NO_ACCOUNT_ASSETS,
NO_SIGNATORIES,
NOT_SUPPORTED
NO_ACCOUNT, // when requested account does not exist
NO_ACCOUNT_ASSETS,// when requested account asset does not exist
NO_SIGNATORIES,// when requested signatories does not exist
NOT_SUPPORTED // when unidentified request was received
};
Reason reason;
};
Expand Down

0 comments on commit 0c3d1ac

Please sign in to comment.