Skip to content

Commit

Permalink
Added missing error codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
szmyd committed Jul 21, 2023
1 parent a06629c commit 1dbe708
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/include/homeobject/pg_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ namespace homeobject {
enum class PGError {
OK = 0,
TIMEOUT,
INVALID_ARG,
UNKNOWN_PG,
UNKNOWN_PEER,
};
Expand Down
2 changes: 1 addition & 1 deletion src/include/homeobject/shard_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ namespace homeobject {
enum class ShardError {
OK = 0,
TIMEOUT,
NOT_LEADER,
INVALID_ARG,
NOT_LEADER,
UNKNOWN_PG,
UNKNOWN_SHARD,
};
Expand Down

0 comments on commit 1dbe708

Please sign in to comment.