4
0
Sever's response to an error that occurs is quite simple.
{ "status": "fail", "message": "any" }
{ "status": "error", "message": "terjadi kegagalan pada server kami", "error": { "name": "Error", "message": "connect ECONNREFUSED 127.0.0.1:5432" } }
{ "statusCode": 401, "error": "Unauthorized", "message": "Missing authentication" }