Handle runtime errors
handle_error.RdEvaluates the given expression and then runs the on_success, on_error, or on_warning
expressions depending on the result of the initial evaluation.
Arguments
- expr
- Expression to evaluate 
- on_success
- Expression to evaluate if - exprsucceeds
- on_error
- Expression to evaluate if - exprgenerates an error
- on_warning
- Expression to evaluate if - exprgenerates a warning
- finally
- Expression to evaluate after - exprand- on_successor- on_erroror- on_warning, usually used for cleanup.