Checking for property errors instead of returning false

I have a similar topic that I posted here: Find property of a guiObject - Help and Feedback / Scripting Support - Developer Forum | Roblox