How can I handling response status globally? #3831
Unanswered
positivedeveloper36
asked this question in
Help
Replies: 1 comment 6 replies
-
Hello, Can you provide more information about your use case? I can't see how your fonction are related to a 'E_ROW_NOT_FOUND', can you explain? Thanks |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How can I handling response status globally?
My controller like this :
I handling exceptions globally using exception handler like this :
It is located in app\Exception\Handler.ts
The problem is that it only handles errors globally, it can't handle success response globally
How can I make a function so that it also can handle success response globally?
Please help. Thank you very much
Beta Was this translation helpful? Give feedback.
All reactions