added dialect catchTableError method