SDK Common Result Objects
API Description
After an API is called using an instance of ObsClient, view whether an exception is thrown. If no, an SDK common result object will be returned, indicating a successful operation. If yes, the operation fails and you need to obtain the error information from the instance of Obs\Common\ObsException.
Namespace
|
Class |
Parent Namespace |
|---|---|
|
Model |
Obs\Internal\Common |
Parameter Description
|
Field |
Type |
Description |
|---|---|---|
|
HttpStatusCode |
integer |
HTTP status code |
|
Reason |
string |
Reason description |
|
RequestId |
string |
Request ID returned by the OBS server |
|
Other fields |
For details, see "Bucket-Related APIs" and "Object-Related APIs". |
|
Last Article: Request Array
Next Article: SDK Custom Exceptions
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.