Steps to reproduce
- restructure the error response across all endpoint
Expected
the error should have two parameters; status and error
{
"status": "error",
"error": "appropriate error message"
}
Actual
the error has two parameters; status and message
{
"status": "error",
"message": "appropriate error message"
}
Steps to reproduce
Expected
the error should have two parameters;
statusanderrorActual
the error has two parameters;
statusandmessage