scuttlebutt-rpc / org.apache.tuweni.scuttlebutt.rpc / RPCMessage / getErrorBody

getErrorBody

fun getErrorBody(objectMapper: ObjectMapper): Optional<RPCErrorBody> (source)

Parameters

objectMapper - the object mapper to deserialize with

Return
the RPC error response body, if this is an error response - nothing otherwise