This commit is contained in:
Fu Diwei 2026-07-13 14:54:38 +08:00
parent db94e5ac00
commit 00c3e721eb
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ func (c *Client) doRequestWithResult(req *resty.Request, res sdkResponse) (*rest
return resp, fmt.Errorf("sdkerr: failed to unmarshal response: %w (resp: %s)", err, resp.String())
} else {
if rCode := res.GetCode(); rCode != 0 {
return resp, fmt.Errorf("sdkerr: code='%d', message='%s'", rCode, res.GetMessage())
return resp, fmt.Errorf("sdkerr: api error: code='%d', message='%s'", rCode, res.GetMessage())
}
}
}

View File

@ -251,7 +251,7 @@
"tencentcloud_dns": "Tencent Cloud - DNS",
"tencentcloud_ecdn": "Tencent Cloud - ECDN (Enterprise Content Delivery Network)",
"tencentcloud_eo": "Tencent Cloud - EdgeOne",
"tencentcloud_eomakers": "Tencent Cloud - EdgeOne Makers",
"tencentcloud_eomakers": "Tencent Cloud - EdgeOne Makers (formerly EdgeOne Pages)",
"tencentcloud_ga2": "Tencent Cloud - GA2 (Global Accelerator 2.0)",
"tencentcloud_gaap": "Tencent Cloud - GAAP (Global Application Acceleration Platform)",
"tencentcloud_scf": "Tencent Cloud - SCF (Serverless Cloud Function)",