fun getException(objectMapper: ObjectMapper!): Optional<RPCRequestFailedException!>!
(source)
Gets exception from object mapper.
objectMapper
- ObjectMapper!: the object mapper to deserialize the error with.
Return
Optional<RPCRequestFailedException!>!: an exception if this represents an error RPC response, otherwise nothing