adts_imp: Utilize meaningful error values.