by boramalper · 6y ago · 0 comments
> In this case it's just error code 5: "STATUS_ACCESS_VIOLATION", which is a memory access error, which typically means it's a bug where the program accidentally is trying to read outside of its memory space.
What would be a (more) user-friendly error message for this though, given the quite technical nature of the error?
"Error: 0xC0000005 - STATUS_ACCESS_VIOLATION - (Error, Microsoft defined, unreserved) Error: This is an internal error that prevented normal operation of the application. Please contact support at X."
Which conveys all of the information in the code and tells the user what they should do and that it wasn't their fault. Then it's a different story to say which code would be the most useful for the user.
NPM does something like this[1].
[1] https://stackoverflow.com/questions/22445371/npm-install-err...
I believe the actual error would be "access violation", status is only the prefix. But I don't think that text would help normal users more.
As in: "Who is that General Protection, what has he done to my computer and why is that his fault"?
"General Protection Fault" were the words actually presented to the "normal" users before. It surely didn't help them to read that.
sirens heard outside