Fix: getMessage is a method, not a property