Refactored the DBI based adapter's error output.