handle exceptions
This commit is contained in:
4
rpi/models/exceptions/ServiceException.py
Normal file
4
rpi/models/exceptions/ServiceException.py
Normal file
@@ -0,0 +1,4 @@
|
||||
class ServiceException(Exception):
|
||||
def __init__(self, message):
|
||||
self.message = message
|
||||
super().__init__(self.message)
|
||||
Reference in New Issue
Block a user