This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Type caught errors as unknown since JavaScript can throw any value; narrow to Error or other types as needed.
You've completed the free preview. Subscribe to unlock every lesson in every course.