Fixing typo with get_error_message being referenced as a property