mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-27 23:23:37 +08:00
14 lines
242 B
Python
14 lines
242 B
Python
|
|
|
|
class SimPEGException(Exception):
|
|
|
|
def __init__(self, reason=''):
|
|
self.reason = reason
|
|
|
|
def __str__(self):
|
|
return '%s: %s' %(self.__class__.__name__, self.reason)
|
|
|
|
|
|
class PairingException(SimPEGException):
|
|
pass
|