Exercises/Functions/func-typed-exception/stub.ps1
|
function Read-JsonConfig { param( [Parameter(Mandatory)] [string]$Path ) # TODO: return the JSON as a hashtable; throw FileNotFoundException / FormatException throw 'Not implemented' } |