릴리스 노트
제품 공지
Member | Description | Type |
type | Error Type (Service, Client) | CosErrorType |
cosErrorCode | Error code | CosErrorCode |
Error Code | Description |
SERVICE_ERROR | Server Exception |
INVALID_ARGUMENT | Parameter validation failed, such as required parameters being null. |
INVALID_CREDENTIALS | Key information validation failed, for example, key acquisition failed. |
NETWORK | Network error, see HarmonyOS Network Error Reference |
TASK | Task-related exception |
USER_CANCELLED | User-initiated request cancellation |
USER_PAUSED | User-initiated request pausing |
DATA_FORMAT | Data format error, possibly due to server response data not conforming to entity definitions, and so on. |
UNKNOWN | Unclassified exception, the business layer can treat it as a system Error. |
Member | Description | Type |
detail | Error details, which could be a system Error, a string, or a json object. | object |
Member | Description | Type |
requestId | Request ID, which represents a request, is very important for troubleshooting. | string |
httpCode | The status code in the response: 4xx indicates failure due to client-side issues, while 5xx failures result from server-side exceptions. For more details, see COS Error Messages | string |
code | Error Code in the response body when the request fails. For more details, see COS Error Messages | string |
message | Error Message in the response body when the request fails. For more details, see COS Error Messages | string |
피드백