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

Method Error

pkg/credentials/error_response.go:63–68  ·  view source on GitHub ↗

Error - Returns S3 error string.

()

Source from the content-addressed store, hash-verified

61
62// Error - Returns S3 error string.
63func (e Error) Error() string {
64 if e.Message == "" {
65 return fmt.Sprintf("Error response code %s.", e.Code)
66 }
67 return e.Message
68}
69
70// Error - Returns STS error string.
71func (e ErrorResponse) Error() string {

Callers 15

TestChainWithNoProviderFunction · 0.45
TestFileAWSFunction · 0.45
TestFileMinioClientFunction · 0.45
TestStaticGetFunction · 0.45
initTestFailServerFunction · 0.45
initIMDSv2ServerFunction · 0.45
initStsTestServerFunction · 0.45
TestIAMFailServerFunction · 0.45
TestIAMNoRolesFunction · 0.45
TestIAMFunction · 0.45
TestIAMFailAssumeFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestChainWithNoProviderFunction · 0.36
TestFileAWSFunction · 0.36
TestFileMinioClientFunction · 0.36
TestStaticGetFunction · 0.36
initTestFailServerFunction · 0.36
initIMDSv2ServerFunction · 0.36
initStsTestServerFunction · 0.36
TestIAMFailServerFunction · 0.36
TestIAMNoRolesFunction · 0.36
TestIAMFunction · 0.36
TestIAMFailAssumeFunction · 0.36