mirror of
https://github.com/minio/minio.git
synced 2025-11-26 04:26:12 -05:00
Tests: object api multipart tests and bug fixes.
This commit is contained in:
committed by
Harshavardhana
parent
e9fba04b36
commit
6e372f83b4
@@ -130,6 +130,15 @@ func (e ObjectNameInvalid) Error() string {
|
||||
return "Object name invalid: " + e.Bucket + "#" + e.Object
|
||||
}
|
||||
|
||||
// UnExpectedDataSize - Reader contains more/less data than specified.
|
||||
type UnExpectedDataSize struct {
|
||||
Size int
|
||||
}
|
||||
|
||||
func (e UnExpectedDataSize) Error() string {
|
||||
return fmt.Sprintf("Contains more data than specified size of %d bytes.", e.Size)
|
||||
}
|
||||
|
||||
// IncompleteBody You did not provide the number of bytes specified by the Content-Length HTTP header
|
||||
type IncompleteBody GenericError
|
||||
|
||||
|
||||
Reference in New Issue
Block a user