Skip to content

Commit

Permalink
added a new response code for falure scenario where max assocaition l…
Browse files Browse the repository at this point in the history
…imit is more than the token.maxPerAccount (#86)

Signed-off-by: anighanta <[email protected]>
  • Loading branch information
anighanta authored Aug 31, 2021
1 parent 4b2a8bf commit a2b7b16
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion services/response_code.proto
Original file line number Diff line number Diff line change
Expand Up @@ -997,10 +997,15 @@ enum ResponseCodeEnum {
/**
* The account has reached the limit on the automatic associations count.
*/
NO_REMAINING_AUTO_ASSOCIATIONS = 262;
NO_REMAINING_AUTOMATIC_ASSOCIATIONS = 262;

/**
* Already existing automatic associations are more than the new maximum automatic associations.
*/
EXISTING_AUTOMATIC_ASSOCIATIONS_EXCEED_GIVEN_LIMIT = 263;

/**
* Cannot set the number of automatic associations for an account more than the maximum allowed token associations <tt>tokens.maxPerAccount</tt>
*/
REQUESTED_NUM_AUTOMATIC_ASSOCIATIONS_EXCEEDS_ASSOCIATION_LIMIT = 264;
}

0 comments on commit a2b7b16

Please sign in to comment.