Top "Error-handling" questions

Programming language constructs designed to handle errors signaled by error codes, exceptions or other language specific means.

Javascript Uncaught TypeError: Cannot read property '0' of undefined

I know there's plenty of questions related to this error and I've checked most of them and none help me …

javascript arrays error-handling typeerror
How to get error message when ifstream open fails

ifstream f; f.open(fileName); if ( f.fail() ) { // I need error message here, like "File not found" etc. - // the …

c++ error-handling stream std
Is it not possible to stringify an Error using JSON.stringify?

Reproducing the problem I'm running into an issue when trying to pass error messages around using web sockets. I can …

javascript json node.js error-handling
Is try-catch like error handling possible in ASP Classic?

What options are there in ASP Classic for error handling? For example: I'm using the Mail.SendMail function but when …

error-handling asp-classic
Error handling in C code

What do you consider "best practice" when it comes to error handling errors in a consistent way in a C …

c error-handling
How to capture no file for fs.readFileSync()?

Within node.js readFile() shows how to capture an error, however there is no comment for the readFileSync() function regarding …

node.js error-handling try-catch
Multiple values in single-value context

Due to error handling in Go, I often end up with multiple values functions. So far, the way I have …

go error-handling return-value multiple-return-values
Simple way to perform error logging?

I've created a small C# winforms application, as an added feature I was considering adding some form of error logging …

c# .net logging error-handling error-logging
In Python try until no error

I have a piece of code in Python that seems to cause an error probabilistically because it is accessing a …

python error-handling
403 Forbidden : You don't have permission to access

Forbidden You don't have permission to access /install/step3.php on this server. Additionally, a 404 Not Found error was encountered …

php apache error-handling permissions httpforbiddenhandler