In case of failure, the most DB functions return a DB_Error. The object contains information about the occured error. DB_Error offers the same functions as PEAR_Error.