public class GraphError extends Object
| Constructor and Description |
|---|
GraphError() |
| Modifier and Type | Method and Description |
|---|---|
String |
code()
Get the code property: Error code.
|
String |
message()
Get the message property: Error message value.
|
void |
validate()
Validates the instance.
|
GraphError |
withCode(String code)
Set the code property: Error code.
|
GraphError |
withMessage(String message)
Set the message property: Error message value.
|
public String code()
public GraphError withCode(String code)
code - the code value to set.public String message()
public GraphError withMessage(String message)
message - the message value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.