Record::getErrors - jcobban/Genealogy GitHub Wiki

$record->getErrors()

Up: class Record

This method returns the value of $this‑>msg, which is a private member of the class. If this is not an empty string then it contains messages explaining problems that were encountered during the creation of the Record. $record‑>save() does not update the database if this string is not empty.

Next: $record->dump($label)