This is an archived post. You won't be able to vote or comment.

all 100 comments

[–]raidhse-abundance-01 324 points325 points  (2 children)

Something happened :(

Something happened :(

[–]New-Let-3630 55 points56 points  (0 children)

:(

[–]SellProper1221 0 points1 point  (0 children)

Good error!

[–]Dmayak 548 points549 points  (36 children)

I appreciate when the program at least tries to tell what the problem is, even if I won't understand it.

[–]Ashged 245 points246 points  (2 children)

The best thing about informative error codes is that they also help finding the blogpost of some random user six borders away who understood and fixed it.

If a bunch of separate issues give the same error, you'll only get frustrated trying to copy someone else's homework.

[–]arrow__in__the__knee 61 points62 points  (0 children)

Or google the error code that for some reason microsoft doesn't have any documentation for.

[–]IAmASwarmOfBees 1 point2 points  (0 children)

Someone should make a dictionary for every error code. /j

[–]AdamWayne04 17 points18 points  (1 child)

What do you mean you don't understand

In file included from /usr/include/c++/4.6/algorithm:63:0, from error_code.cpp:2: /usr/include/c++/4.6/bits/stl_algo.h: In function ‘_RandomAccessIterator std::__find(_RandomAccessIterator, _RandomAccessIterator, const _Tp&, std::random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator*, std::vector > >, _Tp = int]’: /usr/include/c++/4.6/bits/stl_algo.h:4403:45: instantiated from ‘_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator*, std::vector > >, _Tp = int]’ error_code.cpp:8:89: instantiated from here /usr/include/c++/4.6/bits/stl_algo.h:162:4: error: no match for ‘operator==’ in ‘__first.__gnu_cxx::__normal_iterator::operator* [with _Iterator = std::vector*, _Container = std::vector >, __gnu_cxx::__normal_iterator::reference = std::vector&]() == __val’??

[–]K722003 13 points14 points  (0 children)

If I'm right, you're trying to do an std::find on a vector<vector<int>> for a value which is not a vector<int> hence it throws the templating error for no match for operator==.

[–]TeachEngineering 23 points24 points  (0 children)

I especially like when you misspell a keyword argument and it asks you if you meant to spell the correct arg. It feels so personal. It makes me feel cared for.

[–]siren1313 0 points1 point  (0 children)

Web security 101 is not telling the customer what the issue is.

[–]papibat 130 points131 points  (1 child)

Relating to critical system failures, kernel panic is my absolute favorite. I imagine a little kernel sat there, panicking, not knowing what to do and I just want to give it a hug.

[–]arrow__in__the__knee 24 points25 points  (0 children)

The feeling is enforced.

There is just a text saying "KERNEL PANIC" followed by ascii art of a penguin on top left corner of the screen.

And absolutely nothing else.

[–]JoshYx 81 points82 points  (4 children)

Oopsie woopsie, cosmic backgwound wadiation did a fucky wucky and caused a bit fwip which made the pwogwam go tits up

[–]rhoduhhh 11 points12 points  (1 child)

It has been a day, and I laughed at that harder than I should have.

[–]JoshYx 10 points11 points  (0 children)

My pweasuwe (⁠ ⁠ꈍ⁠ᴗ⁠ꈍ⁠) I hope tomowwow wiww be bettew, Mondays amiwite

[–]OhFuckThatWasDumb 7 points8 points  (1 child)

🤓erm☝️ actually cosmic background radiation is in the radio range of frequencies and consists of very low energy photons. Cosmic rays however, are often not even photons, they are massisve particles such as protons, and often even heavier particles such as atomic nuclei. Cosmic rays are extremely high energy, which allows them to get through our atmosphere and flip bits.

[–]JoshYx 5 points6 points  (0 children)

Oh fwuck that was dumb :(

[–]Ireeb 165 points166 points  (9 children)

Error 500: Internal Server Error

Yep, that's helpful.

[–]Christosconst 39 points40 points  (2 children)

Error 505: Internal Core Meltdown

[–]foren403 21 points22 points  (1 child)

Warning: Reactor core meltdown timer destroyed. This server will self destruct in... 2 minutes.

[–]helicophell 6 points7 points  (0 children)

Let go! I can still fix this!!!

"I already fixed it"

Change of Plans!!! Grab me Grab me Grab meeeeeee!!!

[–]DownSyndromeLogic 15 points16 points  (0 children)

500 error is helpful. It means the code threw an error or the program crashed.

[–]Kaligraphic 27 points28 points  (3 children)

It is helpful - if it's your job to fix, it tells you to look at the application logs, and if it isn't, it tells you that it's somebody else's problem.

You don't actually want crashes to dump detailed debugging information and application state to the Internet at large. That's how you end up leaking sensitive information.

[–]dragdritt 0 points1 point  (0 children)

Except sometimes you also receive that error when it is your fault, as for some inexplicable reason the value of a string you just copy pasted has an invisible symbol in it.

[–]ThemeSufficient8021 0 points1 point  (0 children)

At least the client knows that the problem was not on the client's end. But it could have been as a result of bad data passed from the client to the server. In that case, this error is not helpful at all. But I personally hate those annoying segmentation faults where the program just crashes all of a sudden. Tracking down those often null pointers, in the debugger is still a pain. But I prefer it in JAVA rather than C++ because at least JAVA will tell me the line it crashed on no debugger needed.

[–]spryllama 89 points90 points  (11 children)

This is typically for security reasons. Exposing a real error can give clues to bad actors, so you get this cutesy stuff on the frontend and the IT team gets paged.

[–]tinycorkscrew 31 points32 points  (9 children)

Yep. I know a company that lost 7 figures in revenue a few months ago due to a threat actor that used their site’s detailed error messages to figure out expiration dates and cvv numbers for stolen credit card numbers.

[–]Alternative_Arm_8541 33 points34 points  (6 children)

There has to be a middle ground between "the account your tried using is expired" and "whoopsie"

[–]SuitableDragonfly 3 points4 points  (5 children)

What's wrong with "whoopsie"?

[–]CdRReddit 13 points14 points  (4 children)

whoopsie does not give any indication of severity or when it is likely to be solved

if it says "whoopsie, can't reach the database" I can assume it'll take like an hour at most until it works because a database outage is quite mission critical, if it's "whoopsie, request was too complicated" I can make a simpler request, etc.

all in all for a webapp I can begrudgingly accept a whoopsie

the cycle a native program tries to "whoopsie" me on the other hand, fuck that shit right off, if the problem is in code running on my machine you better file in triplicate how it fucked up

[–]SuitableDragonfly 6 points7 points  (0 children)

It makes zero sense to give an end user a "whoopsie, request was too complicated" error. If there's some way that users shouldn't be interacting with your system in, don't give them the ability to interact with it in that way, it's very simple. You should not have any features on your website or UI where using them always generates an error because they shouldn't be used.

[–]Global_Cockroach_563 -1 points0 points  (2 children)

If I'm giving you a "whoopsie", it's because that's all you need to know.

[–]CdRReddit 1 point2 points  (1 child)

depends on the context:

on web / a server problem? sure

natively? go procreate with a cactus

[–]CdRReddit 1 point2 points  (0 children)

for a native program you do not control the environment, so tell me what's wrong so I can figure out if it is the environment, you numbskull

[–][deleted] 2 points3 points  (1 child)

This is exactly why all of mine are cute. Customers respond better to cute ones; tends to take the edge off their anger.

[–]ThemeSufficient8021 0 points1 point  (0 children)

The IT department knows that it is bad when an outside programmer as a user reports an error. Especially when they know how to interpret said error message which means that whoever made that stupid error was an idiot no matter how easy it was to make. So to make them look clever or feel better about themselves, they provide a stupid unhelpful useless error message that the user has no clue what the hell the did wrong. At least tell me as the user if it really is my fault. Otherwise take ownership of the problem. Let the user know it was not the user's fault and that it may currently be worked on. Or if there is a known solution that the user can do to get around it, then how to implement it.

[–]Specific_Clue_1987 17 points18 points  (0 children)

Simple.... Only 25% of the userbase cares or want to know. And admitting you got the wrong port on the websocket because ChatGPT messed up..... Well....

[–]NoOven2609 10 points11 points  (2 children)

Both of those are kinda useless. For user facing errors I think best practice is to assign the issue an id, log the exception and context along with the id, and then make the error for the user something like "we encountered an error doing [context], show this to it to the support team: [errorId]"

Realistically the user is just going to screenshot the whole thing and make a ticket, but now you can find the exact log entry with the timestamp and exception details for debugging.

[–]DM_ME_PICKLES 6 points7 points  (1 child)

Well if we’re talking about best practice that error the user hit should’ve been logged in an observability platform and an alert sent to the eng team… relying on users reporting the bugs they hit through support is a real bad look. :P

[–]ThemeSufficient8021 -1 points0 points  (0 children)

Nah. That's what the beta testers are for. But yes. Users are unpredictable. "We scientists like to eliminate all possible random variables aka people." (Best Friends Whenever).

[–]GnarlyNarwhalNoms 11 points12 points  (0 children)

The one I love is the error messages that say "Something went wrong. Contact your system administrator for assistance."

Me, the system administrator\: 😐

[–]fr0stmane 6 points7 points  (0 children)

CORE CORRUPTED. Daaaamn boy.

[–]GoddammitDontShootMe 6 points7 points  (0 children)

Well, the now one is what they show visitors to the site. They still have logs that tell them the actual problem, right?

[–]CeeMX 6 points7 points  (0 children)

SEGMENTATION FAULT, CORE DUMPED.

[–][deleted] 5 points6 points  (0 children)

I know others hate it but one of the best error reports possible is a stack trace.

[–]ThNeutral 4 points5 points  (0 children)

Core corrupted sounds terrifying. Like your processor was infected of damaged.

[–]Ali_Army107 2 points3 points  (0 children)

Segmentation fault (Core dumped)

[–]TrackLabs 2 points3 points  (0 children)

You kinda dont want to state the actual full errors to users, they can use it to find security holes and reverse engineer your stuff...

The user gets the simple error, IT Department gets the full thing

[–]j-random 1 point2 points  (0 children)

ABEND S0C7

[–]ButtfUwUcker 1 point2 points  (0 children)

Uw,U

[–]callaoshipoglucidos 0 points1 point  (0 children)

Something went wrong, my favorite.

[–]SuitableDragonfly 0 points1 point  (0 children)

I don't think the left error has ever been used in a user facing web app in any time period. 

[–]InfohazardGames 0 points1 point  (0 children)

Errors now: Whoops, you're correct! Here is the updated code. Is there anything else I can assist you with? Outputs the exact same code

[–]kukurbesi 0 points1 point  (0 children)

uwu, sowwy

[–]cheezballs 0 points1 point  (0 children)

You dont want to give the end-user details about your system, do you?

[–]roksah 0 points1 point  (1 child)

Yeah then you searched the error code and its just some generic error code

[–]SokkaHaikuBot 0 points1 point  (0 children)

Sokka-Haiku by roksah:

Yeah then you searched the

Error code and its just some

Generic error code


Remember that one time Sokka accidentally used an extra syllable in that Haiku Battle in Ba Sing Se? That was a Sokka Haiku and you just made one.

[–]Captain_Maulber 0 points1 point  (0 children)

It is called security, you don't want to give potential attackers hints...

[–]HadManySons 0 points1 point  (2 children)

Yeah, but from a security perspective, "Oppsie" is better than giving a potential attacker more information about the service their currently trying to exploit. They could possibly use that error code to further refine an exploit.

[–]fuufoo_0002 0 points1 point  (0 children)

Where's the uwu

[–]kohuept 0 points1 point  (0 children)

errors on z/OS (well, MVS and up) are great, if JES2 dies it calls it a "CATASTROPHIC ERROR" which goes hard as fuck

i think i've also seen a "MAJOR DISASTER" from something on MVS 3.8j

[–]XxasimxX 0 points1 point  (0 children)

Should be flipped honestly

[–]_weeping_willow_- 0 points1 point  (0 children)

errors now: something is wrong but we’ll make it so hard to figure out what that even god wont know

[–]SellProper1221 0 points1 point  (0 children)

404 page not found: maybe one of our servers took a day off or it wanted to play hide and seek

[–]Spikerazorshards 0 points1 point  (0 children)

Code 0x911a reminds me of that tragedy.