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