public final class CloudError extends Object
| Constructor and Description |
|---|
CloudError()
Initializes a new instance of CloudError.
|
| Modifier and Type | Method and Description |
|---|---|
String |
code() |
List<CloudError> |
details() |
String |
message() |
String |
target() |
CloudError |
withCode(String code)
Sets the error code parsed from the body of the http error response.
|
CloudError |
withMessage(String message)
Sets the error message parsed from the body of the http error response.
|
CloudError |
withTarget(String target)
Sets the target of the error.
|
public String code()
public CloudError withCode(String code)
code - the error codepublic String message()
public CloudError withMessage(String message)
message - the error messagepublic String target()
public CloudError withTarget(String target)
target - the target of the errorpublic List<CloudError> details()
Copyright © 2019. All rights reserved.