this post was submitted on 13 Jan 2024
175 points (93.1% liked)

Asklemmy

43755 readers
1272 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

If you're from a non English speaking country, do you first have to learn English if you want to get into programming?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] dan@upvote.au 3 points 9 months ago (1 children)

This is why it's good to have unique error codes in addition to messages. It also helps with error monitoring as you can aggregate errors by their error code rather than message (which can have variables in it, different languages, etc).

[โ€“] taladar@sh.itjust.works 2 points 9 months ago

Error codes can be useful but I find that a lot of vendors using them rely on the code too much to classify errors as identical. Usually the variables do matter, e.g. which file couldn't be opened or which action was attempted by whom that got a permission denied error.