If I create a variable with an input that only receives integers (int) and put other types of numbers or even letters, it will generate an error and the program will terminate.
I would like to know if you have a way to replace the error with a custom error message without terminating the program.