Open Greydog1 opened 1 year ago
Thanks for reporting this @Greydog1
This page should change to use a different exception type.
I'll add this to our backlog, and add the "help-wanted" label in case someone wants to submit a PR before we make the change.
This page gives an example using Throw system.exception,
Which is "This" page?
@shivam-51 It's the following page, which is mentioned in the original post in the Document Details section: https://learn.microsoft.com/en-us/dotnet/visual-basic/language-reference/statements/throw-statement
This page should change to use a different exception type.
@BillWagner What can be the different exception type?
I feel the purpose of that document is to show how to throw a generic exception and it does so. If we want to replace it we need to add a generic exception instead of the Exception
.
@BillWagner I'll work on this!
This page gives an example using Throw system.exception, while this page says not to throw system.exception.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.