Are there ways to catch and detect leaks from a clothes washer? Some kind of tray?
There are trays available in the big box home stores for this. Some come with a knock out for a drain hose if you have a place to drain excess water to. They are sized so most washing machines will fit. The last I bought, in 2017 were about $30 each.