Open lgrd opened 2 months ago
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.
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.