I am looking into using UnitOfWork2 objects for the first time. I couldn't figure out how to determine what DB errors occur during a failed commit.
The reference documentation says that UnitOfWork2.Commit can throw only one type of exception: ArgumentNullException.
After reading a whole bunch of posts on this forum I've got a tentative conclusion that UnitOfWork2.Commit will, in fact, throw some ORM exceptions.
Is this a documentation bug? If so, what is the list of exceptions that I can expect UnitOfWork2.Commit() to throw?