MCPcopy
hub / github.com/minio/minio-go / errInvalidArgument

Function errInvalidArgument

api-error-response.go:277–284  ·  view source on GitHub ↗

errInvalidArgument - Invalid argument response.

(message string)

Source from the content-addressed store, hash-verified

275
276// errInvalidArgument - Invalid argument response.
277func errInvalidArgument(message string) error {
278 return ErrorResponse{
279 StatusCode: http.StatusBadRequest,
280 Code: InvalidArgument,
281 Message: message,
282 RequestID: "minio",
283 }
284}
285
286// errAPINotSupported - API not supported response
287// The specified API call is not supported

Callers 15

FGetObjectMethod · 0.85
validateMethod · 0.85
doMethod · 0.85
newRequestMethod · 0.85
RemoveObjectsMethod · 0.85
RemoveObjectsWithIterMethod · 0.85
TestGetEndpointURLFunction · 0.85
TestIsValidEndpointURLFunction · 0.85
TestIsValidExpiryFunction · 0.85

Calls

no outgoing calls

Tested by 4

TestGetEndpointURLFunction · 0.68
TestIsValidEndpointURLFunction · 0.68
TestIsValidExpiryFunction · 0.68
TestErrInvalidArgumentFunction · 0.68