Skip to content

Commit

Permalink
update errors
Browse files Browse the repository at this point in the history
  • Loading branch information
da440dil committed Aug 7, 2019
1 parent ef1998b commit ee097d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gateway/redis/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ func (e gatewayError) Error() string {
}

// ErrInvalidResponse is the error returned when Redis command returns response of invalid type.
const ErrInvalidResponse = gatewayError("counter/redis: invalid response")
const ErrInvalidResponse = gatewayError("counter/gateway/redis: invalid response")

// ErrKeyNameClash is the error returned when Redis key exists and has no TTL.
const ErrKeyNameClash = gatewayError("counter/redis: key name clash")
const ErrKeyNameClash = gatewayError("counter/gateway/redis: key name clash")

var incr = redis.NewScript(
"local v = redis.call(\"incr\", KEYS[1]) " +
Expand Down

0 comments on commit ee097d7

Please sign in to comment.