Skip to main content
1 of 2
Szabolcs
  • 236.5k
  • 31
  • 641
  • 1.3k

In version 10 or later, we can use EvaluationData.

EvaluationData[1/0; 0^0]

Mathematica graphics

Behind the scenes, this uses handlers, like in my first answer.

Szabolcs
  • 236.5k
  • 31
  • 641
  • 1.3k