fix: 🐛 fixed driver and vehicle apis, swapped dbms to postgres and refactored project structure
This commit is contained in:
7
errors/NotFoundException.py
Normal file
7
errors/NotFoundException.py
Normal file
@ -0,0 +1,7 @@
|
||||
class NotFoundError(Exception):
|
||||
def __init__(self, message, errors):
|
||||
# Call the base class constructor with the parameters it needs
|
||||
super().__init__(message)
|
||||
|
||||
# Now for your custom code...
|
||||
self.errors = errors
|
0
errors/__init__.py
Normal file
0
errors/__init__.py
Normal file
Reference in New Issue
Block a user