Closed anuragxxd closed 3 years ago
The exceptions dictionary in FOCA are only the defaults, and they are mainly for demonstration purposes. It's much clearer and more explicit if every app defines their own exceptions and corresponding JSON responses.
Right now we are making extra file of exception.py for using the exceptions error through the app. We can rather use the foca to import the errors as it is defined their also.