Pretty-print error call to be informative for the user.
Pretty-print error call to be informative for the user.
rethrow(error, call = sys.call(sys.parent())) rethrow_on_error(expr, call = sys.call(sys.parent()))
error |
an object of class |
call |
the calling context to rethrow the error from, overwriting the error’s current call object |
expr |
an expression to evaluate inside |
If it does not throw an error, rethrow_on_error
returns the
value of evaluating expr
.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.