Wiki source file HOME was modified to not link to README for help after
command documentation now is in the wiki.
New-Exception
New command that creates and returns an [System.Exception].
New-ArgumentException
Now takes a parameter PassThru that returns the error record that was
created (and does not throw).
Now has a command alias New-InvalidArgumentException and the command
was renamed to match the exception name.
New-InvalidOperationException
Now takes a parameter PassThru that returns the error record that was
created (and does not throw) (issue #98).
New-InvalidResultException
Now takes a parameter PassThru that returns the error record that was
created (and does not throw).
New-NotImplementedException
Now takes a parameter PassThru that returns the error record that was
New-InvalidDataException
The parameter Message has a parameter alias ErrorMessage to make
the command have the same parameter names as the other New-*Exception
commands.
New-ObjectNotFoundException
Updated typo in comment-based help.
This Pull Request (PR) fixes the following issues
Fixes #98
Task list
[x] Added an entry to the change log under the Unreleased section of the
file CHANGELOG.md. Entry should say what was changed and how that
affects users (if applicable), and reference the issue being resolved
(if applicable).
[ ] Documentation added/updated in README.md.
[x] Comment-based help added/updated for all new/changed functions.
[ ] Localization strings added/updated in all localization files as appropriate.
Pull Request (PR) description
Wiki source file HOME was modified to not link to README for help after command documentation now is in the wiki.
New-Exception
[System.Exception]
.New-ArgumentException
PassThru
that returns the error record that was created (and does not throw).New-InvalidArgumentException
and the command was renamed to match the exception name.New-InvalidOperationException
PassThru
that returns the error record that was created (and does not throw) (issue #98).New-InvalidResultException
PassThru
that returns the error record that was created (and does not throw).New-NotImplementedException
PassThru
that returns the error record that wasNew-InvalidDataException
Message
has a parameter aliasErrorMessage
to make the command have the same parameter names as the otherNew-*Exception
commands.New-ObjectNotFoundException
This Pull Request (PR) fixes the following issues
Fixes #98
Task list
This change is