A DbError object describes a database error condition, including the error code and message.
A number indicating the database error which occurred
Returns the numeric code which represents the database error
A string describing the database error
Returns the a string describing the database error. This string is implementation-dependant, meaning it can vary from driver to driver.