nave lahav388 Points
can you use the try and catch method for errors and not exaptions?
Jon Wood9,883 Points
Exceptions are essentially errors in your program that can cause your program to crash. Handling them with the
try/catch block is a way to keep your program running.
I believe Jeremy mentioned in one of the videos that you should try to avoid using exceptions as flow control.
When you mean "errors", do you mean logical errors?