Commits

Tetsuya Morimoto committed dcd23ae

added errors.py

  • Participants
  • Parent commits bfb6277

Comments (0)

Files changed (1)

File src/ikazuchi/errors.py

+# -*- coding: utf-8 -*-
+
+class IkazuchiError(Exception):
+    """ ikazuchi root exception """
+    pass
+
+class TranslatorError(IkazuchiError):
+    """ ikazuchi translator exception """
+    pass
+
+class NeedApiKeyError(TranslatorError): pass