| 45 | } |
| 46 | |
| 47 | type Error interface { |
| 48 | error |
| 49 | |
| 50 | // RedisError is a no-op function but |
| 51 | // serves to distinguish types that are Redis |
| 52 | // errors from ordinary errors: a type is a |
| 53 | // Redis error if it has a RedisError method. |
| 54 | RedisError() |
| 55 | } |
| 56 | |
| 57 | var _ Error = proto.RedisError("") |
| 58 |
nothing calls this directly
no outgoing calls
no test coverage detected