How to diagnose the «Could not save credit memo» failure?

Because of the bug, you can get an actual error message only by setting a breakpoint in a debugger.

Bug: the \Magento\Sales\Model\Order\CreditmemoRepository::save() method misses (does not log and does not show) the actual exception message on a credit memo saving falure

See also: