exceptionhandler

throw exception to another exception in one def using python

throw exception to another exception in one def using python Question: I’ve function to calculate data and after successful calculation the mail has been send to user. but now I want to do error mapping for user interface to show error to users, so that they understand where exactly the error is getting, In their …

Total answers: 2

restframework custom EXCEPTION_HANDLER not effect

restframework custom EXCEPTION_HANDLER not effect Question: In a new project custom exception_handler is working,but to my old project it’s not working, i follow the doc custom exception handler to writing. And I set print in my exception_handler, but it’s not show any thing.(exception will be catch but using the default handler.) # myapp.exception.py from rest_framework.views …

Total answers: 1