Skip to content
Repl.it error messages?
Profile icon
hacker
has Hacker Plan
DynamicSquid

Is there a way that I can get a list of error messages for repl.it? Specifically the Python and C++ errors. For example a C++ error would be this:

Screenshot (86)

I'm asking this since I'm making a project that tries to replicate an error message.

So is there a like a way I could get the different types of errors? Or do I have to just do it manually by putting errors in my code and seeing the result?

You are viewing a single comment. View All
Answered by CodeLongAndPros [earned 5 cycles]
View Answer
Profile icon
xxpertHacker

Repl doesn't have it's own error messages, Repl just runs the GCC / CLang compiler, the compiler is what issues errors and warnings. You'll need to look at their documentation for everything they have. (Just a tip, Clang gives better error messages).

Also, very important to note, neither of their error messages are too good, now Rust's error messages, those are great, go look at some Rust errors.

Profile icon
DynamicSquid

@StudentFires
oh thanks! and for rust, I might take a look at those, but I'm not familiar with rust that much..

Profile icon
xxpertHacker

@DynamicSquid
You don't need to be very familiar, it's kinda close to C++ in many regards, the error messages aren't cryptic though, like C++'s can be.