mirror of
https://github.com/minio/mc.git
synced 2025-11-14 23:42:27 +03:00
Change diff command properly to send messages over channels
This commit is contained in:
10
errors.go
10
errors.go
@@ -16,6 +16,14 @@
|
||||
|
||||
package main
|
||||
|
||||
type errNotAnObject struct {
|
||||
url string
|
||||
}
|
||||
|
||||
func (e errNotAnObject) Error() string {
|
||||
return "Not an object " + e.url
|
||||
}
|
||||
|
||||
type errInvalidACL struct {
|
||||
acl string
|
||||
}
|
||||
@@ -27,7 +35,7 @@ func (e errInvalidACL) Error() string {
|
||||
type errInvalidArgument struct{}
|
||||
|
||||
func (e errInvalidArgument) Error() string {
|
||||
return "Invalid argument"
|
||||
return "Invalid argument."
|
||||
}
|
||||
|
||||
type errUnsupportedScheme struct {
|
||||
|
||||
Reference in New Issue
Block a user