For missing parts reply back as InvalidPart{}

This commit is contained in:
Harshavardhana
2015-07-13 19:29:32 -07:00
parent fdee527a4d
commit 7ae60a6d10
3 changed files with 10 additions and 1 deletions
+7
View File
@@ -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