agilgur5 / agilgur5/django-api-decorators

add `Exception400` / `catch400s` etc decorators

Aperta
#1 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

These might be a bit more niche, but were used in [Yorango](https://github.com/Yorango)'s codebase in order to be able to `throw`/`raise` exceptions within any depth of the call-stack and be assured that it would cause the API request to return the correct response (and not require the calling code to do so).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.