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

15 lines
265 B
Go
Raw Normal View History

2023-07-10 15:50:57 +08:00
package cont
import (
"fmt"
"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)
}