$AssertFunction specifies a function to apply to assertions that fail.
You can change the behavior when an assertion fails by assigning to $AssertFunction. This function throws an exception when an assertion fails:
Here the exception thrown by the assertion function is caught:
Assert Print Message On
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »