rework exception handling (fixes #108)

This commit is contained in:
gcarq
2017-11-16 16:14:43 +01:00
parent a0bb7a61e6
commit 0bc96241d5
3 changed files with 14 additions and 9 deletions

View File

@@ -11,6 +11,10 @@ from freqtrade import __version__
logger = logging.getLogger(__name__)
class FreqtradeException(BaseException):
pass
class State(enum.Enum):
RUNNING = 0
STOPPED = 1