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

getErrorBody

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

Gets error body

Parameters

objectMapper - ObjectMapper!: the object mapper to deserialize with

Return
Optional<RPCErrorBody!>!: the RPC error response body, if this is an error response - nothing otherwise