| Modifier and Type | Method and Description |
|---|---|
ErrorResponse |
ErrorResponseException.body() |
ErrorResponse |
ErrorResponse.withCode(String code)
Set error code.
|
ErrorResponse |
ErrorResponse.withMessage(String message)
Set error message indicating why the operation failed.
|
| Constructor and Description |
|---|
ErrorResponseException(String message,
retrofit2.Response<okhttp3.ResponseBody> response,
ErrorResponse body)
Initializes a new instance of the ErrorResponseException class.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/