← All tasks
What you'll do
Pick the correct statement about catching a TypeError with a generic catch block.
Scenario
A function is called with the wrong argument type, throwing a TypeError, and a catch (Exception $e) block doesn't catch it.
Ready to try it?
Create a free account and try "Exception vs Error Hierarchy" free for 7 days, no card required. Earn 70 XP and track your internship progress.
Already have an account? Sign in