Catch conditions

except(expression, ...)

Arguments

expression

Expression to evaluate within which to catch conditions

...

Named arguments where names are condition classes to catch, and arguments are functions to evaluate when that condition is raised. Functions should take a single parameter, which will be passed the condition object raised.