Skip to content

Documentation for accessing errors in catch block #4107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 3, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update about_Try_Catch_Finally.md
  • Loading branch information
sdwheeler authored Apr 3, 2019
commit acb6dc01fbfc8617d02e1141c97882a72ce0d67b
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ catch {

Running this script returns the following result:

```
```Output
An Error occurred:
The term 'NonsenseString' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path
Expand Down