mirror of
https://github.com/wagiminator/ATtiny814-USB-PD-Adapter.git
synced 2025-08-06 12:47:16 +03:00
22 lines
513 B
Python
22 lines
513 B
Python
"""
|
|
pyedbglib specific exceptions
|
|
"""
|
|
|
|
class PyedbglibError(Exception):
|
|
"""
|
|
Base class for all pyedbglib specific exceptions
|
|
"""
|
|
|
|
def __init__(self, msg=None, code=0):
|
|
super(PyedbglibError, self).__init__(msg)
|
|
self.code = code
|
|
|
|
class PyedbglibNotSupportedError(PyedbglibError):
|
|
"""
|
|
Signals that an attempted operation is not supported
|
|
"""
|
|
|
|
def __init__(self, msg=None, code=0):
|
|
super(PyedbglibNotSupportedError, self).__init__(msg)
|
|
self.code = code
|