I had an Samsung SSD a couple of years back and decided to run "Samsung Magician" (Windows only) to check it out. It said, "Samsung Magician reports FAIL on Uncorrectable Error Count and ECC Error Rate". They swapped it for a new one.
No macOS software that I tried reported any errors.
This kind of failure should be reported by the “SMART status” that Disk Utility and System Information both show. macOS only reports whether the overall status is positive or negative (either “Verified” or “Failing”), it does not list the individual results of the status, such as the rate of uncorrectable errors. The drive itself reports these errors and its firmware determines what constitutes an impending drive failure.
Well, DriveRx would be a good name, but they chose DriveDx.