DB.Error (gb.db2)

Static Property Read Error As Integer

Returns the code of the last error raised by the database driver.