Start on the global problem class.

This commit is contained in:
Rowan Cockett
2016-01-14 21:17:04 -08:00
parent c6e90230d4
commit f734888cb5
5 changed files with 252 additions and 56 deletions
+13
View File
@@ -0,0 +1,13 @@
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