Top "Error-handling" questions

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

Does Python have an argc argument?

I have written the same program (open text file and display contents) in C and C++. Now am doing the …

python linux file-io error-handling arguments
How to catch SQLServer timeout exceptions

I need to specifically catch SQL server timeout exceptions so that they can be handled differently. I know I could …

c# .net sql-server error-handling
How to get MVC action to return 404

I have an action that takes in a string that is used to retrieve some data. If this string results …

asp.net-mvc error-handling http-status-code-404
Detecting Webview Error and Show Message

I'd like to show an error message when there is an error loading a webview page (No connection). This is …

android user-interface error-handling webview
Raise error in a Bash script

I want to raise an error in a Bash script with message "Test cases Failed !!!". How to do this in …

linux bash shell error-handling scripting
Ignoring an error message to continue with the loop in python

I am using a Python script for executing some function in Abaqus. Now, after running for some iterations Abaqus is …

python loops error-handling abaqus
Check if localStorage is available

I know there has been many questions about checking for localStorage but what if someone manually shuts it off in …

javascript error-handling local-storage
Use tryCatch skip to next value of loop upon error?

I've read a few other SO questions about tryCatch and cuzzins, as well as the documentation: Exception handling in R …

r error-handling exception-handling try-catch
Custom error class in TypeScript

I'd like to create my own error class in TypeScript, extending core Error to provide better error handling and customized …

inheritance error-handling typescript
rJava install error "JAVA_HOME cannot be determined from the Registry"

I am trying to load the rJava using the command: library(rJava) But I get the following error: Error : .onLoad …

java r error-handling rjava