Fault-handler for Spark to give users more options when runtime errors happen.