You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CenturyLInkCloudServiceException may be populated with an inner exception unexpectedly thrown from within the SDK which would not provide the user with any valuable information while revealing problems within the SDK itself.
I have refactored serviceinvoker, but in general we attempt to provide the inner exception because it is usually the underlying cause of the issue (something http related from a failed request, a failure to parse because the response was unexpected, etc.)
The CenturyLInkCloudServiceException may be populated with an inner exception unexpectedly thrown from within the SDK which would not provide the user with any valuable information while revealing problems within the SDK itself.
For example, consider a bug introduced into the DeserializeAPIErrorMessage method for the following line:
https://github.com/CenturyLinkCloud/CenturyLinkCloud-.NET-SDK/blob/master/CenturyLinkCloudSDK/Runtime/ServiceInvoker.cs#L62
This exception would be caught and then returned inside the CenturyLinkCloudServiceException to the consumer.
The text was updated successfully, but these errors were encountered: