-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Resolution-DuplicateThe issue is a duplicate.The issue is a duplicate.
Description
PowerShell has two types of errors: terminating and non-terminating. Non-terminating errors are handled consistently with common parameters and scoped $ErrorActionPreference. Terminating errors do not support this interface and instead rely on the programmer to determine that the error is non-terminating (usually after a period of confusion), and handle with separate but equivalent logic. Terminating errors are therefore only an inconvenience to advanced users and a source of significant confusion for new users.
All cmdlets should respect the ErrorActionPreference
mklement0, zachChilders, jmoralesv and apetitjeanapetitjeanAKrasheninnikov, Luiz-Monad and vernou
Metadata
Metadata
Assignees
Labels
Resolution-DuplicateThe issue is a duplicate.The issue is a duplicate.