GeoTracking/errors/NotFoundException.py

7 lines
269 B
Python

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