AED: Adaptable Error Detection for Few-shot Imitation Policy