Closed
Description
Type of issue
Other (describe below)
Description
Why is the example catching all exceptions? We have clearly documented what the exceptions are and not following our own doc. This is a bad precedent to set for our customers.
Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.io.directory.createdirectory?view=net-9.0
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.IO/Directory.xml
Document Version Independent Id
94e4ec5d-b7bc-0306-7d10-90778a66817a
Platform Id
23cc4013-8b62-3b4c-df47-f3692abdf742