build exception hierarchy from MythrilBaseException

pull/173/head
tintinweb 7 years ago
parent dbd07e7782
commit fb5ab6f0e1
  1. 13
      mythril/exceptions.py

@ -1,8 +1,9 @@
class CompilerError(Exception): class MythrilBaseException(Exception): pass
pass
class UnsatError(Exception): class CompilerError(MythrilBaseException): pass
pass
class NoContractFoundError(Exception): class UnsatError(MythrilBaseException): pass
pass
class NoContractFoundError(MythrilBaseException): pass
class CriticalError(MythrilBaseException): pass

Loading…
Cancel
Save