end of the video should refactor it
This commit is contained in:
3
1.Basic/11.Function_exception.ps1
Normal file
3
1.Basic/11.Function_exception.ps1
Normal file
@@ -0,0 +1,3 @@
|
||||
Throw "it's a trap"
|
||||
|
||||
Write-Error -Message "It' a trap" -ErrorAction Stop
|
||||
Reference in New Issue
Block a user