Skip to content

[UUF] Don't catch all exceptions #11240

Closed
@gewarren

Description

@gewarren

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

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions