This seems to be a rare problem, as I don't see widespread complaints on SSD failure.
But mine did fail. Was running fine for the most part for the past 3 years. Then today the computer froze. I thought it's another one of those Xcode 9 stunts... The laptop auto restarted and the kernel panic report contained the message
"Could not recover SATA HDD after 5 attempts"
I used it as normal and an hour or so later it happened again. It froze, restarted and then gave me a kernel panic report. I decided to look the above message up, and 30 minutes later the computer froze again, and on restart it gave me the folder icon signifying that it can no longer find the OS. Took it to the Apple Store and they confirm that the system is not seeing the drive...
Late 2013 13" rMBP. Samsung SSAUX 256GB SSD.
My late 2013 13" rMBP just developed the same issue (posting this from a Linux live USB). Did a new SSD fix it?