public final class ErrorResponse extends Object
Constructor and Description |
---|
ErrorResponse() |
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Get the code property: The error Code.
|
String |
getMessage()
Get the message property: A message explaining the error reported by the service.
|
ErrorResponse |
setCode(String code)
Set the code property: The error Code.
|
ErrorResponse |
setMessage(String message)
Set the message property: A message explaining the error reported by the service.
|
public String getCode()
public ErrorResponse setCode(String code)
code
- the code value to set.public String getMessage()
public ErrorResponse setMessage(String message)
message
- the message value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.