The function returns the last database error including error number and description. For more details see Error class definition.