allow switching functions to trigger FunctionEvaluationException let the low level errors in switching functions find their way to upper level