Skip to content

LindnerBrewery/ErrorRecord

Repository files navigation

ErrorRecord

Simple Module that helps creating an ErrorRecord

Overview

The function New-ErrorRecord will create an error record according to your parameters. -Exception will offer you all locally available exception, so you don't have to look for appropriate exceptions

Installation

Install-Module ErrorRecord

Examples

New-ErrorRecord -Message MyError -Exception System.IO.FileNotFoundException -Category ObjectNotFound

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published