Harshavardhana c184038b6a Add proper custom errors object creations (#7387)
In scenario 1

```
- bucket/object-prefix
- bucket/object-prefix/object
```

Server responds with `XMinioParentIsObject`

In scenario 2

```
- bucket/object-prefix/object
- bucket/object-prefix
```

Server responds with `XMinioObjectExistsAsDirectory`

Fixes #6566
2019-03-20 13:06:53 -07:00
..
2019-03-16 22:44:43 -07:00
2019-02-14 17:53:46 -08:00
2019-02-14 17:53:46 -08:00
2019-02-14 17:53:46 -08:00
2019-02-14 17:53:46 -08:00
2018-06-06 14:21:56 +05:30
2019-02-14 17:53:46 -08:00
2019-02-14 17:53:46 -08:00
2019-03-05 21:34:17 +05:30