public class ErrorResponse extends Object
| Constructor | Description |
|---|---|
ErrorResponse() |
| Modifier and Type | Method | Description |
|---|---|---|
ErrorInfo |
error() |
Get the error details.
|
ErrorResponse |
withError(ErrorInfo error) |
Set the error details.
|
public ErrorInfo error()
public ErrorResponse withError(ErrorInfo error)
error - the error 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.
*/