/
Error Handling
Error Handling
Http Status Codes
200: In case of success
400: In case of bad request data
401: In case of authentication / authorization failure
404: In case of url does not exist
500: In case of Internal Server Error
Error Response Payload
{
"hasError": true,
"errorMessage": "Something went wrong"
}