mirror of
https://github.com/onyx-and-iris/nvda-addon-voicemeeter.git
synced 2026-04-18 17:13:31 +00:00
rename exceptions + lint fixes
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
class VMError(Exception):
|
||||
"""Base voicemeeterlib exception class"""
|
||||
class VMAddonError(Exception):
|
||||
"""Base voicemeeter add-on exception class"""
|
||||
|
||||
|
||||
class VMCAPIError(VMError):
|
||||
"""Exception raised when the C-API returns an error code"""
|
||||
class VMAddonCAPIError(VMAddonError):
|
||||
"""Exception raised when the Voicemeeter C-API returns an error code"""
|
||||
|
||||
def __init__(self, fn_name, code):
|
||||
self.fn_name = fn_name
|
||||
|
||||
Reference in New Issue
Block a user