// Test the "Unhandled exception" error proc foo() { throw "baseball"; } proc main() { try { foo(); } catch (e) { "Caught ", e, '\n'; } foo(); }