| Modifier and Type | Method and Description |
|---|---|
ErrorResponse |
ErrorResponseException.body() |
ErrorResponse |
ErrorResponse.withCode(String code)
Set an identifier for the error.
|
ErrorResponse |
ErrorResponse.withMessage(String message)
Set a message describing the error, intended to be suitable for display in a user interface.
|
| 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.
*/