Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] Add the error code in the responses of the APIs #103

Open
lgrd opened this issue Apr 18, 2024 · 0 comments
Open

[fix] Add the error code in the responses of the APIs #103

lgrd opened this issue Apr 18, 2024 · 0 comments

Comments

@lgrd
Copy link
Collaborator

lgrd commented Apr 18, 2024

Now, we use the Error nodeJS class inside the errorManager. But it seems to be a misuse. For instance, error.code is always undefined when the error is created. So, when we want to send an error code inside the API response, there is none.

@lgrd lgrd converted this from a draft issue Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant