SDK Custom Exceptions
SDK custom exceptions (ObsException) are thrown by ObsClient. Exceptions are usually OBS server-side errors, including OBS error codes and error information and aim to help users locate problems and troubleshot faults.
ObsException contains the following error information:
- ObsException.StatusCode: HTTP status code
- ObsException.ErrorCode: OBS server-side error code
- ObsException.ErrorMessage: Error description returned by the OBS server
- ObsException.RequestId: Request ID returned by the OBS server
- ObsException.HostId: Requested server ID
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.