Concept Flow - Error response format
Client sends request
Server processes request
Error occurs?
No→Send success response
Yes
Create error response
Send error response to client
The client sends a request, the server processes it, and if an error happens, the server creates and sends an error response back.