Skip to content

Commit 7c16ba2

Browse files
SufficientDaikonclaude
authored andcommitted
Final polish: qualify Ignore/$Error claims and About.md index
- About.md: Update throw index to "script-terminating error by default" - about_Automatic_Variables: Qualify $Error/Ignore as non-terminating only - about_CommonParameters: Qualify Ignore bullet as non-terminating only Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent bd9a431 commit 7c16ba2

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,8 @@ the current session process.
589589

590590
### [about_Throw](about_Throw.md)
591591

592-
Describes the `throw` keyword that generates a terminating error.
592+
Describes the `throw` keyword that generates a script-terminating error by
593+
default.
593594

594595
### [about_Trap](about_Trap.md)
595596

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ Contains a list of names of the experimental features that are enabled.
167167
Contains an array of error objects that represent the most recent errors. The
168168
most recent error is the first error object in the array `$Error[0]`.
169169

170-
To prevent an error from being added to the `$Error` array, use the
171-
**ErrorAction** common parameter with a value of **Ignore**. For more
170+
To prevent a non-terminating error from being added to the `$Error` array, use
171+
the **ErrorAction** common parameter with a value of **Ignore**. For more
172172
information, see [about_CommonParameters][53].
173173

174174
### `$Event`

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ catchable by `try/catch`. For more information about error categories, see
136136
- `Continue` displays the error message and continues executing the command.
137137
`Continue` is the default.
138138
- `Ignore` suppresses the error message and continues executing the command.
139-
Unlike `SilentlyContinue`, `Ignore` doesn't add the error message to the
140-
`$Error` automatic variable. The `Ignore` value is introduced in PowerShell
141-
3.0.
139+
Unlike `SilentlyContinue`, `Ignore` doesn't add the non-terminating error to
140+
the `$Error` automatic variable. The `Ignore` value is introduced in
141+
PowerShell 3.0.
142142
- `Inquire` displays the error message and prompts you for confirmation before
143143
continuing execution. This value is rarely used.
144144
- `SilentlyContinue` suppresses the error message and continues executing the

0 commit comments

Comments
 (0)