Skip to content

Create global error handler middleware for backend #43

@aahnik

Description

@aahnik
  • Backend endpoints must have global error handlers.

  • If db returns duplicate entry error, such as when creating another item with same nameID, a proper error message needs to be returned. Frontend will directly show that message and error code in a toast.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions