Skip to content

Commit

Permalink
Merge pull request #412 from PlagueHO/Issue-411
Browse files Browse the repository at this point in the history
Added Comment Based Help for New-NotImplementedException - Fixes #411
  • Loading branch information
PlagueHO authored Jul 6, 2019
2 parents d3a75ab + 7b5e5ad commit ad720b2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

- Added Comment Based Help for `New-NotImplementedException` common
function - fixes [Issue #411](https://github.com/PowerShell/NetworkingDsc/issues/411).

## 7.3.0.0

- DnsClientGlobalSettings:
Expand Down
10 changes: 10 additions & 0 deletions Modules/NetworkingDsc.Common/NetworkingDsc.Common.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,16 @@ function New-InvalidResultException
throw $errorRecordToThrow
}

<#
.SYNOPSIS
Creates and throws a not implemented exception.
.PARAMETER Message
The message explaining why this error is being thrown.
.PARAMETER ErrorRecord
The error record containing the exception that is causing this terminating error.
#>
function New-NotImplementedException
{
[CmdletBinding()]
Expand Down

0 comments on commit ad720b2

Please sign in to comment.