0
kicks
Finding the right exception to throw
David Mohundro demonstrates a light-weight PowerShell script that generates a searchable/refinable list of native .Net exceptions *with* the native documentation for the purpose of quickly searching for which exception to throw in any given scenario. The results are a veritable catalog of exceptions and descriptions that can also be piped to any other command for further processing/formatting. Perfect for anyone who has ever wondered, "what exception should I throw here?"