MCPcopy Create free account
hub / github.com/AbelChe/evil_minio / APIErrorResponse

Struct APIErrorResponse

cmd/api-errors.go:60–70  ·  view source on GitHub ↗

APIErrorResponse - error response format

Source from the content-addressed store, hash-verified

58
59// APIErrorResponse - error response format
60type APIErrorResponse struct {
61 XMLName xml.Name `xml:"Error" json:"-"`
62 Code string
63 Message string
64 Key string `xml:"Key,omitempty" json:"Key,omitempty"`
65 BucketName string `xml:"BucketName,omitempty" json:"BucketName,omitempty"`
66 Resource string
67 Region string `xml:"Region,omitempty" json:"Region,omitempty"`
68 RequestID string `xml:"RequestId" json:"RequestId"`
69 HostID string `xml:"HostId" json:"HostId"`
70}
71
72// APIErrorCode type of error status.
73type APIErrorCode int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected