Getting Error Information without triggering an Error?

I got smacked with a bit of knowledge the other day about getting information on errors even when they are not thrown. Check out the video:

https://youtu.be/rCn6_E0cHFM