I am calling some rest service using spring WebClient. Depending on different circumstances, the response will be either - say SuccessResponseDTO or ErrorResp
SuccessResponseDTO
ErrorResp