Closed easitab-owner closed 9 months ago
Write-Error https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/write-error?view=powershell-7.3
vs.
typed throw https://learn.microsoft.com/en-us/powershell/scripting/learn/deep-dives/everything-about-exceptions?view=powershell-7.3#throwing-typed-exceptions
We leave functions and its error handling "as is". This can be changed later if we find a use case that require a change.
Write-Error https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/write-error?view=powershell-7.3
vs.
typed throw https://learn.microsoft.com/en-us/powershell/scripting/learn/deep-dives/everything-about-exceptions?view=powershell-7.3#throwing-typed-exceptions