You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't understand why the java thing. Errors in js are called - Error, not Exception and that's what almost all libraries do, except nest.js, but they have their own atmosphere there.
Even your error creation is called Data.TaggedError, not Data.TaggedException.
It looks weird when you have Error mixed with Exception
What is the feature you are proposing to solve the problem?
What is the problem this feature would solve?
Lack of unified naming in js
I don't understand why the java thing. Errors in js are called -
Error
, notException
and that's what almost all libraries do, exceptnest.js
, but they have their own atmosphere there.Even your error creation is called
Data.TaggedError
, notData.TaggedException
.It looks weird when you have Error mixed with Exception
What is the feature you are proposing to solve the problem?
TimeoutException -> TimeoutError
UnknownException -> UnknownError
etc...
What alternatives have you considered?
Creating custom errors:
The text was updated successfully, but these errors were encountered: