cspotcode / cspotcode/pwsh-transpiler

Incorporate error re-thrower example

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
9
Forks
2
PR merge metrics
No merged PRs in 30d

Description

https://github.com/PoshCode/PowerShellPracticeAndStyle/issues/37#issuecomment-474102401

PoshCode/PowerShellPracticeAndStyle#37 mentions best practices for error handling.

Incorporate the error handling trick by @JustinGrote. We can inline the logic, which I believe eliminates the need for a `Get-Variable` call.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.