|
|
|
|
|
by pfalcon
1999 days ago
|
|
Sorry, but throwing an exception in a function call is equivalent to: res, exc = fun();
if (exc) goto exception_handler;
That's underlying model of how exceptions behave, and how they're implemented "manually" in languages with no exception handling (C, Go). You absolutely can draw that by examining syntax of a subroutine, and it's no more implicit than "defer". |
|