Why isn't this error caught?
Basic code example:
The output when you run this is the following:
So the code within the
The output when you run this is the following:
So the code within the
catch statement isn't running, but the code after the catch statement is executed. And yet the program crashes due to an uncaught error.