expect

Calls exp if exp does not throw the return value from exp is returned, if exp throws the Exception is cought, a new Exception is constructed with a message made of args space seperated and the previously cought exception is nested in the newly created exception.

expect
(
ET = Exception
F
int line = __LINE__
string file = __FILE__
Args...
)
(
lazy F exp
,
lazy Args args
)

Meta