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