ServerException.py 147 B

12345678
  1. import logging
  2. class ServerException(Exception):
  3. def __init__(self, message):
  4. self.message = message
  5. logging.error(message)