public final class CloudError extends Object
Constructor and Description |
---|
CloudError()
Initializes a new instance of CloudError.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
List<CloudError> |
getDetails() |
String |
getMessage() |
String |
getTarget() |
CloudError |
setCode(String code)
Sets the error code parsed from the body of the http error response.
|
CloudError |
setMessage(String message)
Sets the error message parsed from the body of the http error response.
|
CloudError |
setTarget(String target)
Sets the target of the error.
|
public String getCode()
public CloudError setCode(String code)
code
- the error codepublic String getMessage()
public CloudError setMessage(String message)
message
- the error messagepublic String getTarget()
public CloudError setTarget(String target)
target
- the target of the errorpublic List<CloudError> getDetails()
Copyright © 2020 Microsoft Corporation. All rights reserved.