catch panic in gin

This commit is contained in:
2022-12-28 00:32:15 +01:00
parent cebb2ae2b6
commit 679277d59e
3 changed files with 23 additions and 2 deletions

View File

@@ -54,4 +54,6 @@ const (
FIREBASE_COM_FAILED APIError = 9901
FIREBASE_COM_ERRORED APIError = 9902
INTERNAL_EXCEPTION APIError = 9903
PANIC APIError = 9904
NOT_IMPLEMENTED APIError = 9905
)