You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'ld like to customise the handler for 500 to do a rollback. It should be available to all blueprints (in my case) but there could be a use for specifying which blueprints use this customised handler.
In the intro, you explicitly mention that:
Instead you can use your own response implementation passed as argument to ErrorHandler class: it must be a decorator and must take 3 args, a dict response, status code and dict headers.
Could you tell me a bit more about how to do that? Would you have a small example?
The text was updated successfully, but these errors were encountered:
Great module. Very useful.
I'ld like to customise the handler for 500 to do a rollback. It should be available to all blueprints (in my case) but there could be a use for specifying which blueprints use this customised handler.
In the intro, you explicitly mention that:
Could you tell me a bit more about how to do that? Would you have a small example?
The text was updated successfully, but these errors were encountered: