public class ErrorDetails extends Object
| Constructor and Description |
|---|
ErrorDetails() |
| Modifier and Type | Method and Description |
|---|---|
String |
code()
Get error code.
|
String |
message()
Get error message.
|
String |
target()
Get error target.
|
ErrorDetails |
withCode(String code)
Set error code.
|
ErrorDetails |
withMessage(String message)
Set error message.
|
ErrorDetails |
withTarget(String target)
Set error target.
|
public String code()
public ErrorDetails withCode(String code)
code - the code value to setpublic String target()
public ErrorDetails withTarget(String target)
target - the target value to setpublic String message()
public ErrorDetails withMessage(String message)
message - the message value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/