winutil/functions/microwin/Microwin-Classes.ps1

11 lines
306 B
PowerShell
Raw Permalink Normal View History

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
}
}