fun getErrorBody(objectMapper: ObjectMapper!): Optional<RPCErrorBody!>! (source)
Gets error body
objectMapper - ObjectMapper!: the object mapper to deserialize with
Return
Optional<RPCErrorBody!>!: the RPC error response body, if this is an error response - nothing otherwise