Skip to content

Commit

Permalink
Merge branch 'chapsuk-fix_result_code_descr'
Browse files Browse the repository at this point in the history
  • Loading branch information
khaf committed Oct 12, 2017
2 parents 7e8452f + 60e2689 commit 74bdfab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions types/result_code.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ const (
// Invalid namespace.
INVALID_NAMESPACE ResultCode = 20

// Bin name length greater than 14 characters.
// Bin name length greater than 14 characters,
// or maximum number of unique bin names are exceeded.
BIN_NAME_TOO_LONG ResultCode = 21

// Operation not allowed at this time.
Expand Down Expand Up @@ -373,7 +374,7 @@ func ResultCodeToString(resultCode ResultCode) string {
return "Namespace not found"

case BIN_NAME_TOO_LONG:
return "Bin name length greater than 14 characters"
return "Bin name length greater than 14 characters, or maximum number of unique bin names are exceeded"

case FAIL_FORBIDDEN:
return "Operation not allowed at this time"
Expand Down

0 comments on commit 74bdfab

Please sign in to comment.