You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
265 B
15 lines
265 B
1 year ago
|
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)
|
||
|
}
|