From d9c6286503a249e5d59f42398e0d7ac586bd79ee Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 6 Dec 2023 13:39:32 +0100 Subject: [PATCH] Add list-error-types.ps1 --- scripts/list-error-types.ps1 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 scripts/list-error-types.ps1 diff --git a/scripts/list-error-types.ps1 b/scripts/list-error-types.ps1 new file mode 100644 index 00000000..d064289c --- /dev/null +++ b/scripts/list-error-types.ps1 @@ -0,0 +1,7 @@ +[appdomain]::CurrentDomain.GetAssemblies() | ForEach { + Try { + $_.GetExportedTypes() | Where { + $_.Fullname -match 'Exception' + } + } Catch {} +} | Select BaseType,Name,FullName \ No newline at end of file