authorizer icon indicating copy to clipboard operation
authorizer copied to clipboard

Streamline error messages

Open lakhansamani opened this issue 2 years ago • 1 comments

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

lakhansamani avatar May 29 '23 05:05 lakhansamani

Hi @lakhansamani This looks like an interesting yet easy refactor. Is this open to contribution? If so I would want to contribute.

animeshdas-lm avatar May 03 '24 17:05 animeshdas-lm