2e44df0bbd
All checks were successful
continuous-integration/drone/push Build is passing
`telegram` module. Closes #2 #7. Two service classes: * `Notifier` class * `CommandProcessor` class Two [middlewares](https://github.com/eternnoir/pyTelegramBotAPI/tree/master/examples/middleware): * `UserAuthMiddleware` * `ExceptionHandlerMiddleware` One exception for usage in the code called by the bot: * `DisplayableException` Merge **ONLY** after #9 is merged. Reviewed-on: #10 Reviewed-by: Miroslavsckaya <miroslavsckaya@noreply.git.skobk.in>
3 lines
108 B
Python
3 lines
108 B
Python
class DisplayableException(Exception):
|
|
"""Exception which could be safely displayed to the end-user."""
|