mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-11 21:32:37 +00:00
15 lines
274 B
Go
15 lines
274 B
Go
package redis
|
|
|
|
//ConnectError redis connection error,such as io timeout
|
|
type ConnectError struct {
|
|
Message string
|
|
}
|
|
|
|
func newConnectError(message string) *ConnectError {
|
|
return &ConnectError{Message: message}
|
|
}
|
|
|
|
func (e *ConnectError) Error() string {
|
|
return e.Message
|
|
}
|