Skip to content

Streamline error messages #356

Open
Open
@lakhansamani

Description

@lakhansamani

Feature Description

We are returning the errors that we get from a database or any third-party service. Instead, we would like to streamline this process and make sure error messages can be easily translated for i18n purposes.

Describe the solution you'd like

  • Create common util to throw errors for incorrect data
  • Create common util to throw errors for server error

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions