/Engine/Source/Runtime/Core/Public/Misc/ExpressionParserTypes.h
Examples that binds a '/' token to a function that attempts to do a division: JumpTable.MapUnary({ return A / B; }); // Runtime exception on div/0 JumpTable.MapUnary({ if (!Ctxt->IsMathEnabled()) { return A; } return A / B; // Runtime exception on div/0 }); JumpTable.MapUnary(-> FExpressionResult { if (!Ctxt->IsMathEnabled()) { return MakeError(FExpressionError(LOCTEXT("MathNotEnabled", "Math is not enabled."))); } else if (B == 0) { /**
*return MakeError ( [FExpressionError](API\Runtime\Core\Misc\FExpressionError)(LOCTEXT("DivisionByZero","[Division](API\Plugins\AnimationModifierLibrary\EMotionExtractor_MathOperation) by zero.")) )