winutil/functions/microwin/Microwin-Classes.ps1
MyDrift 24a7d13e1b change to easier naming scheme
- rename files
- rename function names
2024-10-25 10:56:50 +02: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
}
}