is there any way i can catch a 'duplicate key' mongodb error ?