mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 06:00:24 +03:00
For missing parts reply back as InvalidPart{}
This commit is contained in:
@@ -335,6 +335,13 @@ func (e MissingDateHeader) Error() string {
|
||||
return "Missing date header"
|
||||
}
|
||||
|
||||
// InvalidPart One or more of the specified parts could not be found
|
||||
type InvalidPart struct{}
|
||||
|
||||
func (e InvalidPart) Error() string {
|
||||
return "One or more of the specified parts could not be found"
|
||||
}
|
||||
|
||||
// InvalidPartOrder parts are not ordered as Requested
|
||||
type InvalidPartOrder struct {
|
||||
UploadID string
|
||||
|
||||
Reference in New Issue
Block a user