PostgresDriver: error wrapping