| Modifier and Type | Method and Description |
|---|---|
Error |
ResponseWithError.error()
Get error information.
|
Error |
Error.withCode(String code)
Set error code identifying the specific error.
|
Error |
Error.withMessage(String message)
Set error message in the caller's locale.
|
| Modifier and Type | Method and Description |
|---|---|
ResponseWithError |
ResponseWithError.withError(Error error)
Set error information.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/