Skip to content

Commit 8ebe0df

Browse files
SufficientDaikonclaude
authored andcommitted
Add about_Error_Handling to index; fix stale descriptions and dates
- About.md: Add missing about_Error_Handling entry to topic index - About.md: Update about_Trap and about_Try_Catch_Finally descriptions to say "statement-terminating and script-terminating errors" - about_Try_Catch_Finally.md: Fix [07] link text to match target heading - Update ms.date on about_Trap, about_CommonParameters, about_Preference_Variables, everything-about-exceptions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7c16ba2 commit 8ebe0df

File tree

6 files changed

+16
-8
lines changed

6 files changed

+16
-8
lines changed

reference/7.6/Microsoft.PowerShell.Core/About/About.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,13 @@ Provides access to the Windows environment variables.
167167

168168
Describes how to access and manage environment variables in PowerShell.
169169

170+
### [about_Error_Handling](about_Error_Handling.md)
171+
172+
Describes the three categories of PowerShell errors — non-terminating,
173+
statement-terminating, and script-terminating — and explains how error
174+
action preferences, `try/catch/trap`, and error state variables control
175+
error handling behavior.
176+
170177
### [about_Execution_Policies](about_Execution_Policies.md)
171178

172179
Describes the PowerShell execution policies and explains how to manage them.
@@ -594,12 +601,13 @@ default.
594601

595602
### [about_Trap](about_Trap.md)
596603

597-
Describes a keyword that handles a terminating error.
604+
Describes a keyword that handles statement-terminating and script-terminating
605+
errors.
598606

599607
### [about_Try_Catch_Finally](about_Try_Catch_Finally.md)
600608

601609
Describes how to use the `try`, `catch`, and `finally` blocks to handle
602-
terminating errors.
610+
statement-terminating and script-terminating errors.
603611

604612
### [about_Type_Accelerators](about_Type_Accelerators.md)
605613

reference/7.6/Microsoft.PowerShell.Core/About/about_CommonParameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes the parameters that can be used with any cmdlet.
33
Locale: en-US
4-
ms.date: 01/18/2026
4+
ms.date: 03/29/2026
55
no-loc: [Confirm, Debug, ErrorAction, ErrorVariable, InformationAction, InformationVariable, OutBuffer, OutVariable, PipelineVariable, ProgressAction, Verbose, WarningAction, WarningVariable, WhatIf]
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7.6&WT.mc_id=ps-gethelp
77
schema: 2.0.0

reference/7.6/Microsoft.PowerShell.Core/About/about_Preference_Variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Variables that customize the behavior of PowerShell.
33
Locale: en-US
4-
ms.date: 12/01/2025
4+
ms.date: 03/29/2026
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_preference_variables?view=powershell-7.6&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about_Preference_Variables

reference/7.6/Microsoft.PowerShell.Core/About/about_Trap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes a keyword that handles statement-terminating and script-terminating errors.
33
Locale: en-US
4-
ms.date: 01/13/2026
4+
ms.date: 03/29/2026
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_trap?view=powershell-7.6&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about_Trap

reference/7.6/Microsoft.PowerShell.Core/About/about_Try_Catch_Finally.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ block or `trap` statement.
3232
> [!NOTE]
3333
> `$ErrorActionPreference` can suppress `throw`. When set to
3434
> `SilentlyContinue` or `Ignore`, the error does not propagate and
35-
> execution continues at the next statement. For details, see the
36-
> [_throw_ suppression section][07] in **about_Error_Handling**.
35+
> execution continues at the next statement. For details, see
36+
> [Script-terminating errors][07] in **about_Error_Handling**.
3737
3838
Use the `try` block to define a section of a script in which you want
3939
PowerShell to monitor for errors. When an error occurs within the `try` block,

reference/docs-conceptual/learn/deep-dives/everything-about-exceptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Error handling is just part of life when it comes to writing code.
33
ms.custom: contributor-KevinMarquette
4-
ms.date: 06/20/2024
4+
ms.date: 03/29/2026
55
title: Everything you wanted to know about exceptions
66
---
77
# Everything you wanted to know about exceptions

0 commit comments

Comments
 (0)