Document exceptions #7012
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
MS SDKs typically document which exceptions are thrown.
This is crucial information. We cannot properly handle our error paths without knowing what is going wrong (and catching an
Exception
tells us nothing).Many EF Core methods lack complete documentation, because they do not mention exceptions thrown. MSDN was good at this, but the new docs site seems incomplete.
These are the worst culprits:
We cannot rely on the source, because that can change at any time. You need to officially document this.
It's not hard, PLEASE consider this a priority.
(In the meantime, please at least let us know about those two methods.)
The text was updated successfully, but these errors were encountered: