public static class RestUtils.ErrorResponse extends Object
RestUtils.RestCallable.call()
throws an exception.
It will be encoded into a Json string to be returned as an error response for the REST call.Constructor and Description |
---|
ErrorResponse(Status status,
String message)
Creates a new
RestUtils.ErrorResponse . |
public ErrorResponse(Status status, String message)
RestUtils.ErrorResponse
.status
- the RPC call result's Status
message
- the error messageCopyright © 2023. All Rights Reserved.