You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API implements a centralized error-handling mechanism to ensure consistent responses. Each error response follows a standard structure, providing clarity for debugging.
Error Response Structure
{
"success": false,
"message": "Error message describing the issue",
"statusCode": 400,
"error": { "details": "Additional error info" },
"stack": "Error stack trace (visible only in development)"
}
About
A secure, scalable RESTful API for a blogging platform featuring role-based access control (RBAC), built with TypeScript, Node.js, and MongoDB.