From fb5ab6f0e1177a4c8d8ebf79377e60abfeb61e9b Mon Sep 17 00:00:00 2001 From: tintinweb Date: Sun, 6 May 2018 00:32:16 +0200 Subject: [PATCH] build exception hierarchy from MythrilBaseException --- mythril/exceptions.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/mythril/exceptions.py b/mythril/exceptions.py index f7bf51c9..cad4df3d 100644 --- a/mythril/exceptions.py +++ b/mythril/exceptions.py @@ -1,8 +1,9 @@ -class CompilerError(Exception): - pass +class MythrilBaseException(Exception): pass -class UnsatError(Exception): - pass +class CompilerError(MythrilBaseException): pass -class NoContractFoundError(Exception): - pass \ No newline at end of file +class UnsatError(MythrilBaseException): pass + +class NoContractFoundError(MythrilBaseException): pass + +class CriticalError(MythrilBaseException): pass