From 19de0177d58bb02f7f14657c2e2cfc8423dfe38d Mon Sep 17 00:00:00 2001 From: Joscha Date: Tue, 20 Sep 2016 20:49:20 +0000 Subject: [PATCH] Add exceptions --- yaboli/exceptions.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 yaboli/exceptions.py diff --git a/yaboli/exceptions.py b/yaboli/exceptions.py new file mode 100644 index 0000000..3564d6b --- /dev/null +++ b/yaboli/exceptions.py @@ -0,0 +1,11 @@ +class YaboliException(Exception): + """ + Generic yaboli exception class. + """ + pass + +class CreateBotException(YaboliException): + """ + Raised when a bot could not be created. + """ + pass