You cannot devise a method which ...... all possibility of errors.
Answer: A
This sentence completely means that device means to come up with so you cannot device a method which exclude all possibility of errors - avoid and ignore can't be the option because there is still some error in your method. option A is correct.