mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-29 01:11:30 -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
|
|
}
|
|
}
|