mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Add redis.Error interface and export ErrClosed
Fixes https://github.com/go-redis/redis/issues/1295 Closes https://github.com/go-redis/redis/pull/1296
This commit is contained in:
@ -24,6 +24,8 @@ type RedisError string
|
||||
|
||||
func (e RedisError) Error() string { return string(e) }
|
||||
|
||||
func (RedisError) RedisError() {}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
type MultiBulkParse func(*Reader, int64) (interface{}, error)
|
||||
|
Reference in New Issue
Block a user