APIErrorResponse - error response format
| 58 | |
| 59 | // APIErrorResponse - error response format |
| 60 | type 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. |
| 73 | type APIErrorCode int |
nothing calls this directly
no outgoing calls
no test coverage detected