DB functions may return a DB_Warning object that contains information about the warning. DB_Warning offers the same functions as PEAR_Error.