3 ms·
You still have to handle the exceptional case, but also checking beforehand can lead to better error messages, and in situations involving multiple resources ca
by layer8 2y ago
You still have to handle the exceptional case, but also checking beforehand can lead to better error messages, and in situations involving multiple resources can avoid having to rollback a second resource in the non-racy case.