added error callback to drlib search call