1
0
mirror of https://github.com/ChrisTitusTech/winutil.git synced 2025-01-13 00:10:36 -06:00
winutil/functions/microwin/Microwin-Classes.ps1
MyDrift e0889d51db
[Microwin] dedicated Function folder ()
* move Microwin related stuff to own Folder under "Functions"

* update runspace function gathering logic

* update Recall logic (from main repo)

* change to easier naming scheme

- rename files
- rename function names

* remove unneeded comment (after @CodingWonders's suggestion)
2024-11-06 12:11:36 -06:00

11 lines
306 B
PowerShell

class ErroredPackage {
[string]$PackageName
[string]$ErrorMessage
ErroredPackage() { $this.Init(@{} )}
# Constructor for packages that have errored out
ErroredPackage([string]$pkgName, [string]$reason) {
$this.PackageName = $pkgName
$this.ErrorMessage = $reason
}
}