public class TarantoolErrorResult extends Object
Constructor and Description |
---|
TarantoolErrorResult(Long syncId,
Long errorCode,
org.msgpack.value.Value body)
Basic constructor.
|
Modifier and Type | Method and Description |
---|---|
Long |
getErrorCode()
Get error status code
|
String |
getErrorMessage()
Get error message
|
Long |
getSyncId()
Get request ID a.k.a. sync ID
|
public TarantoolErrorResult(Long syncId, Long errorCode, org.msgpack.value.Value body) throws TarantoolProtocolException
syncId
- the request ID passed back from Tarantool servererrorCode
- error status codebody
- response body containing the error messageTarantoolProtocolException
- if the specified body is invalidpublic Long getSyncId()
public Long getErrorCode()
public String getErrorMessage()
Copyright © 2025 Picodata. All rights reserved.