Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
da440dil committed Aug 11, 2019
1 parent be222b5 commit cdbe2e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion counter.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (e counterError) Error() string {
const ErrInvalidTTL = counterError("counter: TTL must be greater than or equal to 1 millisecond")

// ErrInvalidLimit is the error returned when NewCounter receives invalid value of limit.
const ErrInvalidLimit = counterError("counter: limit must be greater than zero")
const ErrInvalidLimit = counterError("counter: limit must be greater than 0")

// ErrInvalidKey is the error returned when key size is greater than 512 MB.
const ErrInvalidKey = counterError("counter: key size must be less than or equal to 512 MB")
Expand Down

0 comments on commit cdbe2e4

Please sign in to comment.