fix: 🐛 fixed driver and vehicle apis, swapped dbms to postgres and refactored project structure

This commit is contained in:
2025-01-08 22:42:09 +01:00
parent b40f4a0d02
commit d585c90a4e
12 changed files with 280 additions and 215 deletions

View 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
View File