Class ErrorResponse
- java.lang.Object
-
- io.camunda.zeebe.test.broker.protocol.commandapi.ErrorResponse
-
- All Implemented Interfaces:
BufferReader
public final class ErrorResponse extends Object implements BufferReader
-
-
Field Summary
Fields Modifier and Type Field Description protected StringerrorDataprotected MsgPackHelpermsgPackHelper
-
Constructor Summary
Constructors Constructor Description ErrorResponse(MsgPackHelper msgPackHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorCodegetErrorCode()StringgetErrorData()voidwrap(org.agrona.DirectBuffer responseBuffer, int offset, int length)
-
-
-
Field Detail
-
msgPackHelper
protected final MsgPackHelper msgPackHelper
-
errorData
protected String errorData
-
-
Constructor Detail
-
ErrorResponse
public ErrorResponse(MsgPackHelper msgPackHelper)
-
-
Method Detail
-
getErrorCode
public ErrorCode getErrorCode()
-
getErrorData
public String getErrorData()
-
wrap
public void wrap(org.agrona.DirectBuffer responseBuffer, int offset, int length)- Specified by:
wrapin interfaceBufferReader
-
-