mirror of
https://github.com/onyx-and-iris/nvda-addon-voicemeeter.git
synced 2026-04-18 09:03:30 +00:00
move vm_path and dll loading into cdll.py
define binds explicitly in Binds. bump to version 0.3
This commit is contained in:
@@ -1,2 +1,11 @@
|
||||
class VMError(Exception):
|
||||
"""Base VMError class"""
|
||||
"""Base voicemeeterlib exception class."""
|
||||
|
||||
|
||||
class VMCAPIError(VMError):
|
||||
"""Exception raised when the C-API returns an error code"""
|
||||
|
||||
def __init__(self, fn_name, code):
|
||||
self.fn_name = fn_name
|
||||
self.code = code
|
||||
super().__init__(f"{self.fn_name} returned {self.code}")
|
||||
|
||||
Reference in New Issue
Block a user