-
mobx/packages/mobx/src/errors.ts Lines 1 to 2 in 8a1ff85 Out of curiosity why did you choose to use error numbers instead of error names? IMO error names would help understanding the context when reading the source code... |
Beta Was this translation helpful? Give feedback.
Answered by
urugator
Sep 20, 2021
Replies: 1 comment
-
Well the point of error codes is to reduce bundle size ... so the more descriptive error codes you have the less bytes you save? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rluvaton
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Well the point of error codes is to reduce bundle size ... so the more descriptive error codes you have the less bytes you save?
Dunno what the current tooling capabilities are. The original issue is here #653