DateTime::getLastErrors

Returns the warnings and errors

Object oriented style