Marcus Schumacher10,547 Points
Can't get try catch block to work properly
At the end of the video, he gets a nice clean error message from his try catch block. I can not get my try catch block to display the error.message
Aakash Srivastava5,408 Points
Hey friend Marcus Schumacher , you have done everything correctly , just a little mistake .
Notice ,in the video , when Chalkers is showing you the example of throwing error , then in first example , he wrote
www but in the second video :
- he has removed the whole
- he also removed the whole
https://so URL is only
teamtreehouse.comBut what you have done is , you have not removed
www, it's still there . That's why , it's showing two error .
One for 1 case and another for 2 case.
Hope it will help :)