mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 14:45:52 -06:00
e0889d51db
* 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)
11 lines
306 B
PowerShell
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
|
|
}
|
|
}
|