mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-01-18 05:10:48 +00:00
CAPIError properties renamed.
code and function better describe their meaning.
This commit is contained in:
parent
1df92afcfe
commit
d0fbd6deef
@ -9,11 +9,11 @@ class LoginError : VMRemoteError {
|
||||
}
|
||||
|
||||
class CAPIError : VMRemoteError {
|
||||
[int]$retval
|
||||
[string]$caller
|
||||
[int]$code
|
||||
[string]$function
|
||||
|
||||
CAPIError ([int]$retval, [string]$caller) : base ("$caller returned $retval") {
|
||||
$this.retval = $retval
|
||||
$this.caller = $caller
|
||||
CAPIError ([int]$code, [string]$function) : base ("$function returned $code") {
|
||||
$this.code = $code
|
||||
$this.function = $function
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user