Files
open-im-server/pkg/common/db/s3/cont/error.go
T

16 lines
266 B
Go
Raw Normal View History

2023-07-12 15:31:24 +08:00
package cont
import (
"fmt"
2023-07-13 11:37:23 +08:00
2023-07-12 15:31:24 +08:00
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/s3"
)
type HashAlreadyExistsError struct {
Object *s3.ObjectInfo
}
func (e *HashAlreadyExistsError) Error() string {
return fmt.Sprintf("hash already exists: %s", e.Object.Key)
}